Maat_rule_get_ex_new_index功能自测通过。

This commit is contained in:
zhengchao
2018-11-12 16:55:39 +08:00
parent a2845ca071
commit febac3127c
2 changed files with 32 additions and 42 deletions

View File

@@ -965,7 +965,8 @@ void rule_ex_data_new_cb(const uchar * key, uint size, void * data, void * user)
struct compile_ex_data_idx *ex_desc=(struct compile_ex_data_idx*)user;
struct _Maat_compile_inner_t *compile_inner=(struct _Maat_compile_inner_t *)data;
MAAT_RULE_EX_DATA ad=NULL;
if(compile_inner->ref_table->table_id!=ex_desc->table_id || compile_inner->db_c_rule==NULL)
if(compile_inner->ref_table==NULL || compile_inner->ref_table->table_id!=ex_desc->table_id || compile_inner->db_c_rule==NULL)
{
return;
}