bug fixed for SQLUtils.format.

This commit is contained in:
wenshao
2017-11-30 15:32:25 +08:00
parent 045205666d
commit f56324ee00
@@ -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);