mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sql parser & support tableMapping. issue #1432
This commit is contained in:
@@ -659,7 +659,7 @@ public class SQLUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public static String refactor(String dbType, String sql, Map<String, String> tableMapping) {
|
||||
public static String refactor(String sql, String dbType, Map<String, String> tableMapping) {
|
||||
List<SQLStatement> stmtList = parseStatements(sql, dbType);
|
||||
return SQLUtils.toSQLString(stmtList, dbType, null, null, tableMapping);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user