bug fixed for WallProvider.

This commit is contained in:
wenshao
2017-12-14 20:31:37 +08:00
parent eff772d104
commit eb87f866e0
@@ -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) {