Skip to content

Commit

Permalink
context
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Dec 17, 2024
1 parent 0d84a81 commit 7fbdf51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gp_activetable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,9 @@ pull_active_list_from_seg(void)
}
cdbdisp_clearCdbPgResults(&cdb_pgresults);

MemoryContext oldContext = MemoryContextSwitchTo(CurTransactionContext);
StringInfoData active_oids = convert_map_to_string(local_active_table_oid_map);
MemoryContextSwitchTo(oldContext);
hash_destroy(local_active_table_oid_map);

return active_oids;
Expand Down

0 comments on commit 7fbdf51

Please sign in to comment.