This commit is contained in:
温少
2012-03-09 08:32:21 +08:00
parent 3ca4a35863
commit 74316fba51
8 changed files with 145 additions and 14 deletions
@@ -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")) {