提交 081d282a authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Do not try to parse () in Parser.readFunctionWithoutParameters()

上级 1281690a
...@@ -3174,9 +3174,6 @@ public class Parser { ...@@ -3174,9 +3174,6 @@ public class Parser {
} }
private Expression readFunctionWithoutParameters(String name) { private Expression readFunctionWithoutParameters(String name) {
if (readIf(OPEN_PAREN)) {
read(CLOSE_PAREN);
}
if (database.isAllowBuiltinAliasOverride()) { if (database.isAllowBuiltinAliasOverride()) {
FunctionAlias functionAlias = database.getSchema(session.getCurrentSchemaName()).findFunction(name); FunctionAlias functionAlias = database.getSchema(session.getCurrentSchemaName()).findFunction(name);
if (functionAlias != null) { if (functionAlias != null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论