mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for postgresql parser. for issue #2063
This commit is contained in:
@@ -835,7 +835,7 @@ public class SQLExprParser extends SQLParser {
|
||||
if (lexer.token == Token.LPAREN) {
|
||||
accept(Token.LPAREN);
|
||||
|
||||
if (lexer.token == Token.IDENTIFIER) {
|
||||
if (lexer.token == Token.ARRAY || lexer.token == Token.IDENTIFIER) {
|
||||
SQLExpr expr = this.expr();
|
||||
SQLMethodInvokeExpr methodInvokeExpr = new SQLMethodInvokeExpr("ANY");
|
||||
methodInvokeExpr.addParameter(expr);
|
||||
|
||||
Reference in New Issue
Block a user