This commit is contained in:
温少
2012-05-16 16:20:07 +08:00
parent e7da721ffe
commit af75c60219
2 changed files with 10 additions and 1 deletions
@@ -59,7 +59,7 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
accept(Token.TABLE);
if (identifierEquals("IF")) {
if (lexer.token() == Token.IF || identifierEquals("IF")) {
lexer.nextToken();
accept(Token.NOT);
accept(Token.EXISTS);