postgres.git / summary / log / commit / refs

commit    083dc95a14c05bdaeec3015508ca1d16fc7483b5
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sat Apr 15 18:11:15 2017 +0000

    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


src/backend/access/hash/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c index 80923611bb3..3eb5b1d0d5e 100644 --- a/src/backend/access/hash/hash.c +++ b/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; [parent: 0eba6be1b8d3]