mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sql parser. sqlite support limit clause. #1556
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user