Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209)
FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
diff --git a/test/cache.test b/test/cache.test
index 20322fe..6a463aa 100644
--- a/test/cache.test
+++ b/test/cache.test
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
-# $Id: cache.test,v 1.2 2007/04/06 21:42:22 drh Exp $
+# $Id: cache.test,v 1.3 2007/08/12 20:07:59 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -18,6 +18,7 @@
finish_test
return
}
+sqlite3_soft_heap_limit 0
proc pager_cache_size {db} {
set bt [btree_from_db $db]
@@ -55,5 +56,6 @@
} $::cache_size
}
+sqlite3_soft_heap_limit $soft_limit
finish_test