mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for mysql parser keep comments.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user