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

private

Signature

private function findLatestRoot(): void

Returns

void

Documentation

Find the latest valid root page by scanning backwards from file end.

Root pages have high bit set in type byte and valid CRC in last 4 bytes. Clears page cache if root changed.

Source

src/Table/Index/BTreeIndex.php:1515-1570