mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Revert "Revert "improve sqlwall: update""
This commit is contained in:
@@ -611,7 +611,11 @@ public abstract class WallProvider {
|
||||
if (!config.isCommentAllow()) {
|
||||
parser.getLexer().setAllowComment(false); // deny comment
|
||||
}
|
||||
|
||||
if (!config.isCompleteInsertValuesCheck()) {
|
||||
parser.setParseCompleteValues(false);
|
||||
parser.setParseValuesSize(config.getInsertValuesCheckSize());
|
||||
}
|
||||
|
||||
parser.parseStatementList(statementList);
|
||||
|
||||
final Token lastToken = parser.getLexer().token();
|
||||
|
||||
Reference in New Issue
Block a user