refactor sql parser. sqlite support limit clause. #1556

This commit is contained in:
wenshao
2016-12-26 20:11:49 +08:00
parent 74b456d659
commit 77bfab01f5
32 changed files with 396 additions and 270 deletions
@@ -22,7 +22,7 @@ public class SQLParser {
protected String dbType;
public SQLParser(String sql, String dbType){
this(new Lexer(sql), dbType);
this(new Lexer(sql, null, dbType), dbType);
this.lexer.nextToken();
}