sql parser support db2 'drop sequence'

This commit is contained in:
高铁
2016-06-25 15:58:20 +08:00
parent 7ee8f467fc
commit 16ed01a375
2 changed files with 76 additions and 0 deletions
@@ -304,6 +304,15 @@ public class SQLStatementParser extends SQLParser {
stmt.addBeforeComment(beforeComments);
}
statementList.add(stmt);
continue;
} else if (lexer.token() == Token.SEQUENCE) {
SQLStatement stmt = parseDropSequece(false);
if (beforeComments != null) {
stmt.addBeforeComment(beforeComments);
}
statementList.add(stmt);
continue;
} else {