1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Change pcache.test so that it works if sqlite is configured to create auto-vacuum databases by default. (CVS 5678)

FossilOrigin-Name: 55e677569ec131c388841f6f453291f737738076
This commit is contained in:
danielk1977
2008-09-05 05:29:08 +00:00
parent 518002e4ba
commit f7cbfae96a
3 changed files with 12 additions and 9 deletions

View File

@ -11,7 +11,7 @@
#
# This file is focused on testing the pcache module.
#
# $Id: pcache.test,v 1.1 2008/08/29 09:10:03 danielk1977 Exp $
# $Id: pcache.test,v 1.2 2008/09/05 05:29:09 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -29,7 +29,10 @@ do_test pcache-1.1 {
do_test pcache-1.2 {
sqlite3 db test.db
execsql "PRAGMA cache_size=10"
execsql {
PRAGMA cache_size=10;
PRAGMA auto_vacuum=0;
}
pcache_stats
} {current 1 max 10 min 10 recyclable 1}