mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved parser performance.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user