fix pipeline error

This commit is contained in:
liuwentan
2023-03-30 22:53:56 +08:00
parent 9f9a84f946
commit 5873d77f17
7 changed files with 35 additions and 58 deletions

View File

@@ -496,7 +496,7 @@ int interval_runtime_scan(struct interval_runtime *interval_rt, int thread_id,
int real_hit_item_cnt = 0;
long long district_id = state->district_id;
memset(hit_item_ids, 0, sizeof(hit_item_ids));
memset(hit_item_ids, -1, sizeof(hit_item_ids));
for (int i = 0; i < n_hit_item; i++) {
item = (struct maat_item_inner *)(hit_results[i].user_tag);