improved sql parser.

This commit is contained in:
wenshao
2017-07-19 17:55:24 +08:00
parent 8a0bf34a6c
commit 168518e0e5
37 changed files with 1017 additions and 387 deletions
@@ -34,16 +34,16 @@ public class SQLDDLParser extends SQLStatementParser {
if (lexer.token() == Token.IDENTIFIER) {
this.exprParser.name();
throw new ParserException("TODO");
throw new ParserException("TODO. " + lexer.info());
}
if (lexer.token() == Token.PRIMARY) {
lexer.nextToken();
accept(Token.KEY);
throw new ParserException("TODO");
throw new ParserException("TODO. " + lexer.info());
}
throw new ParserException("TODO");
throw new ParserException("TODO " + lexer.info());
}
}