bug fixed for mysql parser keep comments.

This commit is contained in:
wenshao
2017-05-14 10:26:23 +08:00
parent 2ba4f14e33
commit e5bb2501c8
@@ -74,7 +74,7 @@ public class MySqlExprParser extends SQLExprParser {
}
public MySqlExprParser(String sql, boolean keepComments){
this(new MySqlLexer(sql, keepComments, keepComments));
this(new MySqlLexer(sql, true, keepComments));
this.lexer.nextToken();
}