mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -43,7 +43,7 @@ public class SQLParserUtils {
|
||||
|
||||
public static SQLStatementParser createSQLStatementParser(String sql, String dbType) {
|
||||
boolean keepComments;
|
||||
if (JdbcConstants.ODPS.equals(dbType)) {
|
||||
if (JdbcConstants.ODPS.equals(dbType) || JdbcConstants.MYSQL.equals(dbType)) {
|
||||
keepComments = true;
|
||||
} else {
|
||||
keepComments = false;
|
||||
|
||||
Reference in New Issue
Block a user