mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for SQLUtils.format.
This commit is contained in:
@@ -255,7 +255,7 @@ public class SQLUtils {
|
||||
List<SQLStatement> statementList = parser.parseStatementList();
|
||||
return toSQLString(statementList, dbType, parameters, option);
|
||||
} catch (ClassCastException ex) {
|
||||
LOG.warn("format error", ex);
|
||||
LOG.warn("format error, dbType : " + dbType, ex);
|
||||
return sql;
|
||||
} catch (ParserException ex) {
|
||||
LOG.warn("format error", ex);
|
||||
|
||||
Reference in New Issue
Block a user