mysql parser ddl support

This commit is contained in:
温少
2012-05-16 19:00:57 +08:00
parent 7bc28d3b86
commit 472d72006f
5 changed files with 88 additions and 17 deletions
@@ -117,7 +117,7 @@ public class SQLStatementParser extends SQLParser {
if (lexer.token() == Token.DROP) {
lexer.nextToken();
if (lexer.token() == Token.TABLE) {
if (lexer.token() == Token.TABLE || identifierEquals("TEMPORARY")) {
SQLDropTableStatement stmt = parseDropTable(false);