mysql parser drop user

This commit is contained in:
温少
2012-02-22 21:18:59 +08:00
parent 3a5583c16f
commit 3dafb3aba1
26 changed files with 158 additions and 21 deletions
@@ -126,6 +126,12 @@ public class SQLStatementParser extends SQLParser {
statementList.add(stmt);
continue;
} else if (lexer.token() == Token.USER) {
SQLStatement stmt = parseDropUser();
statementList.add(stmt);
continue;
} else {
throw new ParserException("TODO " + lexer.token());
}
}
@@ -190,6 +196,10 @@ public class SQLStatementParser extends SQLParser {
public boolean parseStatementListDialect(List<SQLStatement> statementList) {
return false;
}
public SQLStatement parseDropUser() throws ParserException {
throw new ParserException("TODO " + lexer.token());
}
public SQLCallStatement parseCall() throws ParserException {
acceptIdentifier("CALL");