mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add parent
This commit is contained in:
@@ -578,7 +578,7 @@ public class SQLExprParser extends SQLParser {
|
||||
methodInvokeExpr.getParameters().add(new SQLIdentifierExpr("+"));
|
||||
lexer.nextToken();
|
||||
} else {
|
||||
exprList(methodInvokeExpr.getParameters());
|
||||
exprList(methodInvokeExpr.getParameters(), methodInvokeExpr);
|
||||
}
|
||||
accept(Token.RPAREN);
|
||||
}
|
||||
@@ -612,7 +612,7 @@ public class SQLExprParser extends SQLParser {
|
||||
exprCol.add(name());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public final void exprList(Collection<SQLExpr> exprCol) {
|
||||
exprList(exprCol, null);
|
||||
}
|
||||
@@ -1264,7 +1264,7 @@ public class SQLExprParser extends SQLParser {
|
||||
column.getConstaints().add(new SQLColumnPrimaryKey());
|
||||
return parseColumnRest(column);
|
||||
}
|
||||
|
||||
|
||||
if (lexer.token == Token.CHECK) {
|
||||
lexer.nextToken();
|
||||
SQLExpr expr = this.expr();
|
||||
|
||||
Reference in New Issue
Block a user