]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Defer the bulk pcache1 memory allocation until the first page allocation
authordrh <drh@noemail.net>
Thu, 16 Jul 2015 18:18:19 +0000 (18:18 +0000)
committerdrh <drh@noemail.net>
Thu, 16 Jul 2015 18:18:19 +0000 (18:18 +0000)
commit957026ac784f88287d714cadf2566ed9bac1a1b2
tree1d71ba29f4fcfa7c89a10e4516787408d36998ee
parent89b31d73a627f9514e4469654d5b7f00b7e70e98
Defer the bulk pcache1 memory allocation until the first page allocation
request.  Limit the size of the pcache1 bulk allocation to the cache_size
setting.  Deallocate the bulk allocation on a sqlite3_db_release_memory()
request, if the bulk allocation is completely unused.

FossilOrigin-Name: b79a4affe44bd0c8e155cae19f3f62c715684cd6
manifest
manifest.uuid
src/pcache1.c
src/pragma.c
src/pragma.h
test/malloc5.test
test/pcache.test
test/pcache2.test
tool/mkpragmatab.tcl