PG-150: Logging CMD Type like SELECT, UPDATE, INSERT, DELETE.

This commit is contained in:
Ibrar Ahmed
2020-12-06 16:38:48 +00:00
parent 379fcdefd5
commit 47ad105011
4 changed files with 30 additions and 33 deletions

View File

@@ -176,14 +176,12 @@ hash_query_entry_dealloc(int bucket)
HASH_SEQ_STATUS hash_seq;
pgssQueryEntry *entry;
printf ("--%d--", hash_get_num_entries(pgss_hash));
hash_seq_init(&hash_seq, pgss_query_hash);
while ((entry = hash_seq_search(&hash_seq)) != NULL)
{
if (entry->key.bucket_id == bucket)
entry = hash_search(pgss_query_hash, &entry->key, HASH_REMOVE, NULL);
}
printf ("--%d", hash_get_num_entries(pgss_hash));
}
/*