mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -2396,7 +2396,9 @@ public class WallVisitorUtils {
|
||||
boolean allow = false;
|
||||
int errorCode;
|
||||
String denyMessage;
|
||||
if (x instanceof SQLInsertStatement) {
|
||||
if (x instanceof SQLCommentStatement) {
|
||||
return;
|
||||
} else if (x instanceof SQLInsertStatement) {
|
||||
allow = config.isInsertAllow();
|
||||
denyMessage = "insert not allow";
|
||||
errorCode = ErrorCode.INSERT_NOT_ALLOW;
|
||||
|
||||
Reference in New Issue
Block a user