Skip to content

Commit 083dc95

Browse files
committed
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
1 parent 0eba6be commit 083dc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/hash/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ hashbucketcleanup(Relation rel, Bucket cur_bucket, Buffer bucket_buf,
897897
* flag.
898898
*/
899899
if (tuples_removed && *tuples_removed > 0 &&
900-
opaque->hasho_flag & LH_PAGE_HAS_DEAD_TUPLES)
900+
H_HAS_DEAD_TUPLES(opaque))
901901
{
902902
opaque->hasho_flag &= ~LH_PAGE_HAS_DEAD_TUPLES;
903903
clear_dead_marking = true;

0 commit comments

Comments
 (0)