From 9c50372d20aabdb23963f8d28651728d546acefb Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Sat, 2 Apr 2016 18:36:46 +0300 Subject: [PATCH] Fix condition in e9e441c9fac6cbc0510cded6abb9d0e6b646ecaf Comment is right, but if - not. --- contrib/bloom/blvacuum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bloom/blvacuum.c b/contrib/bloom/blvacuum.c index d2703b02b2..19c010c252 100644 --- a/contrib/bloom/blvacuum.c +++ b/contrib/bloom/blvacuum.c @@ -112,7 +112,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats, * Add page to notFullPage list if we will not mark page as deleted and * there is a free space on it */ - if (BloomPageGetMaxOffset(page) == 0 && + if (BloomPageGetMaxOffset(page) != 0 && BloomPageGetFreeSpace(&state, page) > state.sizeOfBloomTuple && countPage < BloomMetaBlockN) notFullPage[countPage++] = blkno;