mini\Table\Index\BTreeIndex::releaseLeaf() Method

private

Signature

private function releaseLeaf(mini\Table\Index\BTreeLeafPage $leaf, int $pageNum): void

Parameters

Name Type Default Description
$leaf mini\Table\Index\BTreeLeafPage required Documentation missing
$pageNum int required Documentation missing

Returns

void

Documentation

Release a leaf page back to pool, but only if it's not in the overlay.

Pages from unwrittenPages must not be released - they're still needed.

Source

src/Table/Index/BTreeIndex.php:1694-1699