[PATCH]update maat_scan_group & maat_state_get_last_hit_groups API

This commit is contained in:
liuwentan
2024-01-02 20:23:09 +08:00
parent f04043905c
commit 3f95cb2d48
8 changed files with 102 additions and 65 deletions

View File

@@ -873,9 +873,9 @@ table_manager_create(const char *table_info_path, const char *accept_tags,
goto next;
}
long long parent_table_ids[4];
long long parent_table_ids[MAX_CONJ_PARENTS_NUM];
int parent_table_cnt = table_manager_get_conj_parent_table_ids(tbl_mgr, maat_tbl->table_name,
parent_table_ids, 4);
parent_table_ids, MAX_CONJ_PARENTS_NUM);
if (parent_table_cnt <= 0) {
// if table has conjuncion parent, which can share schema and
// runtime with parent.