Skip to content

Commit d9d5aeb

Browse files
committed
Fix outdated comment
As Zsolt pointed out I forgot to update this comment when I renamed the argument of the function.
1 parent a6eb046 commit d9d5aeb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/hash_query.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,14 @@ hash_entry_dealloc(int bucket_id)
234234
HASH_SEQ_STATUS hstat;
235235
pgsmEntry *entry;
236236

237-
if (!pgsmStateLocal.shared_hash)
238-
return;
237+
//pgsm_attach_shmem();
239238

240239
/* Iterate over the hash table. */
241240
hash_seq_init(&hstat, pgsmStateLocal.shared_hash);
242241

243242
while ((entry = hash_seq_search(&hstat)) != NULL)
244243
{
245-
/* Remove all entries if new_bucket_id == -1 */
244+
/* Remove all entries if bucket_id == -1 */
246245
if (bucket_id == INVALID_BUCKET_ID || entry->key.bucket_id == bucket_id)
247246
{
248247
dsa_pointer parent_qdsa = entry->counters.info.parent_query;

0 commit comments

Comments
 (0)