提交 b4de5bf7 authored 作者: Thomas Mueller's avatar Thomas Mueller

Literals of type BIGINT now have the correct data type.

上级 3665807c
...@@ -2462,7 +2462,7 @@ public class Parser { ...@@ -2462,7 +2462,7 @@ public class Parser {
read(); read();
} }
if (currentTokenType != VALUE if (currentTokenType != VALUE
|| (currentValue.getType() != Value.INT && currentValue.getType() != Value.DECIMAL)) { || (currentValue.getType() != Value.INT && currentValue.getType() != Value.LONG)) {
throw DbException.getSyntaxError(sqlCommand, parseIndex, "long"); throw DbException.getSyntaxError(sqlCommand, parseIndex, "long");
} }
long i = currentValue.getLong(); long i = currentValue.getLong();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论