improved parser performance.

This commit is contained in:
wenshao
2017-08-26 22:53:51 +08:00
parent 76c441949f
commit a983b2685b
75 changed files with 2998 additions and 2053 deletions
@@ -16,7 +16,8 @@
package com.alibaba.druid.sql.parser;
public enum SQLParserFeature {
KeepInsertValueClauseOriginalString
KeepInsertValueClauseOriginalString,
EnableSQLBinaryOpExprGroup
;
private SQLParserFeature(){
@@ -40,7 +41,7 @@ public enum SQLParserFeature {
return features;
}
public static int of(SQLParserFeature[] features) {
public static int of(SQLParserFeature... features) {
if (features == null) {
return 0;
}