mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -284,7 +284,12 @@ public class SQLUtils {
|
||||
visitor.setTableMapping(tableMapping);
|
||||
}
|
||||
|
||||
boolean printStmtSeperator = !JdbcConstants.ORACLE.equals(dbType);
|
||||
boolean printStmtSeperator;
|
||||
if (JdbcConstants.SQL_SERVER.equals(dbType)) {
|
||||
printStmtSeperator = false;
|
||||
} else {
|
||||
printStmtSeperator = !JdbcConstants.ORACLE.equals(dbType);
|
||||
}
|
||||
|
||||
for (int i = 0, size = statementList.size(); i < size; i++) {
|
||||
SQLStatement stmt = statementList.get(i);
|
||||
|
||||
Reference in New Issue
Block a user