优点 数据库服务器崩溃
以下查询会导致 Advantage 数据库服务器崩溃:
SELECT +SUM(0) FROM SYSTEM.IOTA
请注意 SUM(0)
之前的 +
,这是罪魁祸首。 如果我将 +
替换为 -
,则不会发生错误。
如果我在本地模式下执行此查询,则会弹出此错误:
poQuery: Error 7200: AQE Error: State = S0000; NativeError = 2203;
[iAnywhere Solutions][Advantage SQL Engine]
An error was encountered while reading an intermediate or temporary file.
我在测试时发现了问题,即使我同意在聚合指令之前添加 +
没有意义,它也不应该崩溃服务器!
谢谢
The following query makes an Advantage Database Server crash:
SELECT +SUM(0) FROM SYSTEM.IOTA
Note the +
before SUM(0)
, this is the culprit.
If I replace +
by -
, no error occurs.
If I execute this query in local mode, this error pops up:
poQuery: Error 7200: AQE Error: State = S0000; NativeError = 2203;
[iAnywhere Solutions][Advantage SQL Engine]
An error was encountered while reading an intermediate or temporary file.
I discovered the problem while testing and, even if I agree there is no point to add a +
before an aggregation instruction, it should not crash the server!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已确认这是一个错误。一元正运算符和聚合函数的组合是问题的根源。它将在未来的更新中修复。
It is confirmed to be a bug. The combination of the unary positive operator and the aggregate function is the cause of the problem. It will be fixed in a future update.