More cleanup of manipulations of hash indexes' hasho_flag field.

Not much point in defining test macros for the flag bits if we
don't use 'em.

Amit Kapila
pull/18/merge
Tom Lane 9 years ago
parent 0eba6be1b8
commit 083dc95a14
  1. 2
      src/backend/access/hash/hash.c

@ -897,7 +897,7 @@ hashbucketcleanup(Relation rel, Bucket cur_bucket, Buffer bucket_buf,
* flag.
*/
if (tuples_removed && *tuples_removed > 0 &&
opaque->hasho_flag & LH_PAGE_HAS_DEAD_TUPLES)
H_HAS_DEAD_TUPLES(opaque))
{
opaque->hasho_flag &= ~LH_PAGE_HAS_DEAD_TUPLES;
clear_dead_marking = true;

Loading…
Cancel
Save