mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor
This commit is contained in:
+3
-1
@@ -83,7 +83,9 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
|
||||
MySqlTableIndex idx = new MySqlTableIndex();
|
||||
|
||||
if (lexer.token() == Token.IDENTIFIER) {
|
||||
idx.setName(this.exprParser.name());
|
||||
if (!"USING".equalsIgnoreCase(lexer.stringVal())) {
|
||||
idx.setName(this.exprParser.name());
|
||||
}
|
||||
}
|
||||
|
||||
if (identifierEquals("USING")) {
|
||||
|
||||
Reference in New Issue
Block a user