mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 03:12:12 +08:00
Remove redundant check.
This commit is contained in:
parent
81202be424
commit
82bdc35931
@ -832,7 +832,7 @@ public:
|
||||
// pop() from this very same queue. Queue pages are freed at version 0 because they can be reused
|
||||
// after the next commit.
|
||||
queue->pager->freePage(oldPageID, 0);
|
||||
} else if (queue->usesExtents && (extentCurPageID == extentEndPageID)) {
|
||||
} else if (extentCurPageID == extentEndPageID) {
|
||||
// Figure out the beginning of the extent
|
||||
int pagesPerExtent = queue->pagesPerExtent;
|
||||
queue->pager->freeExtent(oldPageID - pagesPerExtent + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user