mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fix for oralce sql wall, fix #4065
This commit is contained in:
@@ -2568,7 +2568,8 @@ public class WallVisitorUtils {
|
||||
allow = config.isUpdateAllow();
|
||||
denyMessage = "update not allow";
|
||||
errorCode = ErrorCode.UPDATE_NOT_ALLOW;
|
||||
} else if (x instanceof OracleMultiInsertStatement) {
|
||||
} else if (x instanceof OracleMultiInsertStatement
|
||||
|| x instanceof OracleMultiInsertStatement.InsertIntoClause) {
|
||||
allow = true;
|
||||
denyMessage = "multi-insert not allow";
|
||||
errorCode = ErrorCode.INSERT_NOT_ALLOW;
|
||||
|
||||
Reference in New Issue
Block a user