Lines Matching refs:cache_size
52 set cache_size [pager_cache_size db]
57 } $::cache_size
61 # This block of tests checks that it is possible to set the cache_size of a
64 # cache-2.1.*: Test that "PRAGMA cache_size" appears to work with small
66 # cache-2.2.*: Test that "PRAGMA main.cache_size" appears to work with
68 # cache-2.3.*: Test cache_size=1 correctly spills/flushes the cache.
69 # cache-2.4.*: Test cache_size=0 correctly spills/flushes the cache.
83 do_execsql_test cache-2.1.$i.1 "PRAGMA cache_size = $i"
84 do_execsql_test cache-2.1.$i.2 "PRAGMA cache_size" $i
86 do_execsql_test cache-2.1.$i.4 "PRAGMA cache_size" $i
89 do_execsql_test cache-2.2.$i.1 "PRAGMA main.cache_size = $i"
90 do_execsql_test cache-2.2.$i.2 "PRAGMA main.cache_size" $i
92 do_execsql_test cache-2.2.$i.4 "PRAGMA main.cache_size" $i
95 # Tests for cache_size = 1.
98 PRAGMA cache_size = 1;
117 # Tests for cache_size = 0.
120 PRAGMA cache_size = 0;