improved sql parser, support 'IDENTITY' column name, fixed issue #1328

This commit is contained in:
wenshao
2016-07-15 21:15:16 +08:00
parent 9f07744b03
commit 3c81a2813a
2 changed files with 80 additions and 0 deletions
@@ -367,6 +367,7 @@ public class SQLExprParser extends SQLParser {
case TRUNCATE:
case EXCEPTION:
case FUNCTION:
case IDENTITY:
sqlExpr = new SQLIdentifierExpr(lexer.stringVal());
lexer.nextToken();
break;