Revert "Revert "improve sqlwall: update""

This commit is contained in:
Yako
2014-09-04 13:51:14 +08:00
parent b3d373496a
commit 03f5788268
9 changed files with 233 additions and 2 deletions
@@ -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();