summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev2016-04-02 15:36:46 +0000
committerTeodor Sigaev2016-04-02 15:38:16 +0000
commit9c50372d20aabdb23963f8d28651728d546acefb (patch)
tree1f80153fc0c786a26758c43c28060a43e57bdf3f
parent62b5cd234ba982f71f2501f405a26ed80c92a229 (diff)
Fix condition in e9e441c9fac6cbc0510cded6abb9d0e6b646ecaf
Comment is right, but if - not.
-rw-r--r--contrib/bloom/blvacuum.c2
1 files changed, 1 insertions, 1 deletions
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;