improve sql wall

This commit is contained in:
yakolee
2014-04-10 11:20:02 +08:00
parent b5eda0cf2e
commit e62605bfed
3 changed files with 12 additions and 3 deletions
@@ -632,7 +632,7 @@ public abstract class WallProvider {
+ lastToken, sql));
}
} catch (NotAllowCommentException e) {
violations.add(new SyntaxErrorViolation(e, sql));
violations.add(new IllegalSQLObjectViolation(ErrorCode.COMMENT_STATEMENT_NOT_ALLOW, "comment not allow", sql));
incrementCommentDeniedCount();
} catch (ParserException e) {
syntaxErrrorCount.incrementAndGet();