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
@@ -102,6 +102,10 @@ public class Lexer {
this(input, true);
this.commentHandler = commentHandler;
this.dbType = dbType;
if (JdbcConstants.SQLITE.equals(dbType)) {
this.keywods = Keywords.SQLITE_KEYWORDS;
}
}
public boolean isKeepComments() {