回归测试通过。

This commit is contained in:
zhengchao
2019-01-07 13:35:26 +06:00
parent b49016adb7
commit 7da54b10b0
3 changed files with 43 additions and 1 deletions

View File

@@ -604,7 +604,7 @@ int Maat_set_feather_opt(Maat_feather_t feather,enum MAAT_INIT_OPT type,const vo
md5_file(_feather->json_ctx.json_file, _feather->json_ctx.effective_json_md5);
MESA_handle_runtime_log(_feather->logger,RLOG_LV_INFO,maat_module ,
"Maat initial with JSON file %s md5: %s,generate index file %s OK.",
"Maat initial with JSON file %s md5: %s, generate index file %s OK.",
_feather->json_ctx.json_file,
_feather->json_ctx.effective_json_md5,
_feather->json_ctx.iris_file);

View File

@@ -2463,6 +2463,7 @@ void update_group_rule(struct Maat_table_desc* table,const char* table_line,stru
struct db_group_rule_t db_group_rule;
struct Maat_table_runtime* table_rt=scanner->table_rt[table->table_id];
int ret=0;
memset(&db_group_rule, 0, sizeof(db_group_rule));
ret=sscanf(table_line,"%d\t%d\t%d\t%d", &(db_group_rule.group_id),
&(db_group_rule.compile_id),
&(db_group_rule.is_valid),