improve sqlwall: update

This commit is contained in:
Yako
2014-09-04 13:19:55 +08:00
parent fc7f5e016b
commit 54c940b9b9
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();