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/incrblob.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/incrblob.test')
-rw-r--r-- | test/incrblob.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/incrblob.test b/test/incrblob.test index 5cd7040e4..434ac9aaa 100644 --- a/test/incrblob.test +++ b/test/incrblob.test @@ -9,7 +9,7 @@ # #*********************************************************************** # -# $Id: incrblob.test,v 1.12 2007/06/27 00:36:14 drh Exp $ +# $Id: incrblob.test,v 1.13 2007/08/12 20:07:59 drh Exp $ # set testdir [file dirname $argv0] @@ -105,6 +105,8 @@ proc nWrite {db} { return $stats(write) } +sqlite3_soft_heap_limit 0 + foreach AutoVacuumMode [list 0 1] { if {$AutoVacuumMode>0} { @@ -202,6 +204,7 @@ foreach AutoVacuumMode [list 0 1] { nRead db } [expr $AutoVacuumMode ? 4 : 30] } +sqlite3_soft_heap_limit $soft_limit #------------------------------------------------------------------------ # incrblob-3.*: @@ -363,6 +366,7 @@ unset ::text # after the transaction is commited and the blob channel # closed. # +sqlite3_soft_heap_limit 0 do_test incrblob-6.1 { sqlite3 db2 test.db execsql { @@ -438,6 +442,7 @@ do_test incrblob-6.14 { } } {a different invocation} db2 close +sqlite3_soft_heap_limit $soft_limit #----------------------------------------------------------------------- # The following tests verify the behaviour of the incremental IO |