]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Correctly update the cache page-count when discarding pages in the xTruncate() method...
authordanielk1977 <danielk1977@noemail.net>
Fri, 8 May 2009 06:52:47 +0000 (06:52 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Fri, 8 May 2009 06:52:47 +0000 (06:52 +0000)
commitea24ac4b23b613e07f36d5ef1d578a44c4217669
tree6c0ad63f4d9a820c1fc98415a2780d5c45f7f38e
parent79f02cef78847aa00f28edd80c8ebb6b171b4dc7
Correctly update the cache page-count when discarding pages in the xTruncate() method of the default pcache implementation. Otherwise the effective configured size of the cache shrinks each time xTruncate() is called. Fix for #3844. (CVS 6619)

FossilOrigin-Name: 88211ceeec01ee0d3e55231512be26dd672db099
manifest
manifest.uuid
src/pcache1.c
test/pcache.test