mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve SQL Parser
This commit is contained in:
@@ -1175,14 +1175,7 @@ public class SQLExprParser extends SQLParser {
|
||||
;
|
||||
}
|
||||
|
||||
protected SQLDataType parseCharTypeRest(SQLDataType dataType) {
|
||||
if (!isCharType(dataType.getName())) {
|
||||
return dataType;
|
||||
}
|
||||
|
||||
SQLCharactorDataType charType = new SQLCharactorDataType(dataType.getName());
|
||||
charType.getArguments().addAll(dataType.getArguments());
|
||||
|
||||
protected SQLDataType parseCharTypeRest(SQLCharactorDataType charType) {
|
||||
if (identifierEquals("CHARACTER")) {
|
||||
lexer.nextToken();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user