diff options
author | drh <drh@noemail.net> | 2007-08-12 20:07:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-08-12 20:07:58 +0000 |
commit | 3aefabaf94e86c11d30ced084146ece63893a12c (patch) | |
tree | ba8ee686ebb431900bc81fe955b39f2b6503498f /test/pageropt.test | |
parent | 8940f4ee566959b968e6fabf3e0e18500a38b8b6 (diff) | |
download | sqlite-3aefabaf94e86c11d30ced084146ece63893a12c.tar.gz sqlite-3aefabaf94e86c11d30ced084146ece63893a12c.zip |
Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209)
FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
Diffstat (limited to 'test/pageropt.test')
-rw-r--r-- | test/pageropt.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pageropt.test b/test/pageropt.test index b03b6644c..41f3d5cb1 100644 --- a/test/pageropt.test +++ b/test/pageropt.test @@ -12,7 +12,7 @@ # The focus of the tests in this file are to verify that the # pager optimizations implemented in version 3.3.14 work. # -# $Id: pageropt.test,v 1.2 2007/04/13 03:23:21 drh Exp $ +# $Id: pageropt.test,v 1.3 2007/08/12 20:07:59 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -51,6 +51,7 @@ proc pagercount_sql {sql {db db}} { # Setup the test database # do_test pageropt-1.1 { + sqlite3_soft_heap_limit 0 execsql { PRAGMA auto_vacuum = OFF; PRAGMA page_size = 1024; @@ -195,6 +196,6 @@ do_test pageroot-4.2 { } } {12 3 3 0} - +sqlite3_soft_heap_limit $soft_limit catch {db2 close} finish_test |