summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-04-15 18:11:15 +0000
committerTom Lane2017-04-15 18:11:15 +0000
commit083dc95a14c05bdaeec3015508ca1d16fc7483b5 (patch)
tree2444ca64cf387eaabfe03406bfdd4dc8bdd0a532
parent0eba6be1b8d37fa368a45795ba350d46cc86df54 (diff)
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
-rw-r--r--src/backend/access/hash/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c
index 80923611bb..3eb5b1d0d5 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;