mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor WallFilter, change permit > deny
This commit is contained in:
@@ -139,7 +139,7 @@ public abstract class WallProvider {
|
||||
SQLStatementParser parser = createParser(sql);
|
||||
|
||||
if (!config.isCommentAllow()) {
|
||||
parser.getLexer().setAllowComment(false); // permit comment
|
||||
parser.getLexer().setAllowComment(false); // deny comment
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user