We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6eb046 commit d9d5aebCopy full SHA for d9d5aeb
1 file changed
src/hash_query.c
@@ -234,15 +234,14 @@ hash_entry_dealloc(int bucket_id)
234
HASH_SEQ_STATUS hstat;
235
pgsmEntry *entry;
236
237
- if (!pgsmStateLocal.shared_hash)
238
- return;
+ //pgsm_attach_shmem();
239
240
/* Iterate over the hash table. */
241
hash_seq_init(&hstat, pgsmStateLocal.shared_hash);
242
243
while ((entry = hash_seq_search(&hstat)) != NULL)
244
{
245
- /* Remove all entries if new_bucket_id == -1 */
+ /* Remove all entries if bucket_id == -1 */
246
if (bucket_id == INVALID_BUCKET_ID || entry->key.bucket_id == bucket_id)
247
248
dsa_pointer parent_qdsa = entry->counters.info.parent_query;
0 commit comments