Skip to content

Commit 4fe304e

Browse files
committed
propagate notify_used when merging filter collections
Signed-off-by: Joshua Rogers <[email protected]>
1 parent 5491c4b commit 4fe304e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/db.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,10 @@ int db_col_merge(struct db_filter_col *col_dst, struct db_filter_col *col_src)
12591259
/* reset the precompute */
12601260
db_col_precompute_reset(col_dst);
12611261

1262+
/* propagate NOTIFY usage so NEW_LISTENER is requested on load */
1263+
if (col_src->notify_used)
1264+
col_dst->notify_used = true;
1265+
12621266
/* free the source */
12631267
col_src->filter_cnt = 0;
12641268
db_col_release(col_src);

0 commit comments

Comments
 (0)