mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -2516,6 +2516,10 @@ public class SQLExprParser extends SQLParser {
|
||||
lexer.nextToken();
|
||||
item.setValue(new SQLBooleanExpr(true));
|
||||
return item;
|
||||
} else if (lexer.token == Token.ON) {
|
||||
lexer.nextToken();
|
||||
item.setValue(new SQLIdentifierExpr("ON"));
|
||||
return item;
|
||||
} else {
|
||||
accept(Token.EQ);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user