mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for exprList
This commit is contained in:
+2
-2
@@ -100,7 +100,7 @@ public class PGSQLStatementParser extends SQLStatementParser {
|
||||
|
||||
if (lexer.token() == (Token.LPAREN)) {
|
||||
lexer.nextToken();
|
||||
this.exprParser.exprList(stmt.getColumns());
|
||||
this.exprParser.exprList(stmt.getColumns(), stmt);
|
||||
accept(Token.RPAREN);
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ public class PGSQLStatementParser extends SQLStatementParser {
|
||||
for (;;) {
|
||||
accept(Token.LPAREN);
|
||||
SQLInsertStatement.ValuesClause valuesCaluse = new SQLInsertStatement.ValuesClause();
|
||||
this.exprParser.exprList(valuesCaluse.getValues());
|
||||
this.exprParser.exprList(valuesCaluse.getValues(), valuesCaluse);
|
||||
stmt.addValueCause(valuesCaluse);
|
||||
|
||||
accept(Token.RPAREN);
|
||||
|
||||
Reference in New Issue
Block a user