]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Never allow the b-tree layers view of the number of pages in the database
authordrh <>
Mon, 17 Jan 2022 14:42:38 +0000 (14:42 +0000)
committerdrh <>
Mon, 17 Jan 2022 14:42:38 +0000 (14:42 +0000)
commit5a6f818d84e6eecffbd25a212654392479eb22b6
treeb5f8ca2a8ca3406fe90b110582a101d2e2a05d51
parent7d44b22d45a55a2783a32e67d5bd4487fcb4d00c
Never allow the b-tree layers view of the number of pages in the database
file exceed the actual number of pages in the database file, even when
PRAGMA writeable_schema=ON.  This helps with earlier detection of corruption,
and prevents excess memory usage and CPU cycles in some integrity_check ops.

FossilOrigin-Name: 0407c8793700491b8519a649b9624f569b0e7e9b94d0db79d4a08139e0ecdb69
manifest
manifest.uuid
src/btree.c
src/pager.c