Skip to content
Snippets Groups Projects
Commit 9c50372d authored by Teodor Sigaev's avatar Teodor Sigaev
Browse files

Fix condition in e9e441c9

Comment is right, but if - not.
parent 62b5cd23
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats, ...@@ -112,7 +112,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats,
* Add page to notFullPage list if we will not mark page as deleted and * Add page to notFullPage list if we will not mark page as deleted and
* there is a free space on it * there is a free space on it
*/ */
if (BloomPageGetMaxOffset(page) == 0 && if (BloomPageGetMaxOffset(page) != 0 &&
BloomPageGetFreeSpace(&state, page) > state.sizeOfBloomTuple && BloomPageGetFreeSpace(&state, page) > state.sizeOfBloomTuple &&
countPage < BloomMetaBlockN) countPage < BloomMetaBlockN)
notFullPage[countPage++] = blkno; notFullPage[countPage++] = blkno;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment