mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for WallProvider.
This commit is contained in:
@@ -706,9 +706,11 @@ public abstract class WallProvider {
|
||||
sqlStat = addWhiteSql(sql, tableStat, context.getFunctionStats(), syntaxError);
|
||||
}
|
||||
}
|
||||
|
||||
if(sqlStat == null && updateCheckHandlerEnable){
|
||||
sqlStat = new WallSqlStat(tableStat, context.getFunctionStats(), syntaxError);
|
||||
sqlStat = new WallSqlStat(tableStat, context.getFunctionStats(), violations, syntaxError);
|
||||
}
|
||||
|
||||
Map<String, WallSqlTableStat> tableStats = null;
|
||||
Map<String, WallSqlFunctionStat> functionStats = null;
|
||||
if (context != null) {
|
||||
|
||||
Reference in New Issue
Block a user