mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved mysql & pg parser. for issue #2483
This commit is contained in:
@@ -180,7 +180,7 @@ public class PGExprParser extends SQLExprParser {
|
||||
if (expr.getClass() == SQLIdentifierExpr.class) {
|
||||
String ident = ((SQLIdentifierExpr)expr).getName();
|
||||
|
||||
if (lexer.token() == Token.COMMA) {
|
||||
if (lexer.token() == Token.COMMA || lexer.token() == Token.RPAREN) {
|
||||
return super.primaryRest(expr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user