Commit Graph

8 Commits

Author SHA1 Message Date
dan
3492f4f9af Fixes for test cases running in the "mmap" permutation.
FossilOrigin-Name: cdb97d41abf4a3b8e22fa8ca9f3aab4a3f968d27
2013-07-06 18:07:57 +00:00
drh
986d3b95bb Get all test cases working with the mutex-free-pcache implementation.
FossilOrigin-Name: 2dc98d29995bef51108e99aa8f7a56427cf9e1d7
2011-01-18 16:13:27 +00:00
dan
68928b6c3e Some changes to test scripts related to codec enabled versions of sqlite.
FossilOrigin-Name: 85dd51a75c75b2a123744f646e04538e4e5d89b3
2010-06-22 13:46:43 +00:00
danielk1977
ea24ac4b23 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
2009-05-08 06:52:47 +00:00
danielk1977
6fa0fe13f0 Begin purging dirty pages from the cache once 90% of the cache is dirty (insteadof waiting until it is 100% dirty). This improves performance in some circumstances by effectively reserving 10% of the configured page-cache for frequently reused read-only pages. (CVS 6341)
FossilOrigin-Name: 823fe7f5551e121e211d1ede606a7ce7487ffe0d
2009-03-05 14:59:39 +00:00
drh
ee03d629f5 Conjecture: a journal header with nRec==0 must be the last header in the
journal.  Add asserts to make this conjecture explicit. (CVS 6132)

FossilOrigin-Name: 15b5b5f90c2ffa79155cdc2dbc4fb5583cb72017
2009-01-07 15:33:45 +00:00
danielk1977
f7cbfae96a Change pcache.test so that it works if sqlite is configured to create auto-vacuum databases by default. (CVS 5678)
FossilOrigin-Name: 55e677569ec131c388841f6f453291f737738076
2008-09-05 05:29:08 +00:00
danielk1977
062d4cb0ae If a page is made eligible for recycling when more than the configured maximum number of pages are allocated, free it immediately instead of adding it to the LRU list. (CVS 5638)
FossilOrigin-Name: 4b12922dcb4547bf3a7276d0542b2e1d12ad338d
2008-08-29 09:10:02 +00:00