diff options
author | drh <drh@noemail.net> | 2008-07-30 13:15:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-07-30 13:15:46 +0000 |
commit | d63bd759876629b89c8051a4f28a52c75a99833b (patch) | |
tree | d1df45ab44f6a9f827d2465dfd30f208290a488a /test/permutations.test | |
parent | dab898f8e46d5831744be21e92194ee982eb8e77 (diff) | |
download | sqlite-d63bd759876629b89c8051a4f28a52c75a99833b.tar.gz sqlite-d63bd759876629b89c8051a4f28a52c75a99833b.zip |
Make sure everything is deallocated before calling sqlite3_shutdown().
Ticket #3259. (CVS 5501)
FossilOrigin-Name: 4a6ee88697ddc28e0c7df1954d1526de18191827
Diffstat (limited to 'test/permutations.test')
-rw-r--r-- | test/permutations.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/permutations.test b/test/permutations.test index 735eaa666..738ab44ae 100644 --- a/test/permutations.test +++ b/test/permutations.test @@ -9,7 +9,7 @@ # #*********************************************************************** # -# $Id: permutations.test,v 1.17 2008/07/25 08:49:01 danielk1977 Exp $ +# $Id: permutations.test,v 1.18 2008/07/30 13:15:46 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -141,6 +141,7 @@ proc run_tests {name args} { run_tests "memsubsys1" -description { Tests using pre-allocated page and scratch blocks } -initialize { + catch {db close} sqlite3_shutdown sqlite3_config_pagecache 4096 24 sqlite3_config_scratch 25000 1 @@ -159,6 +160,7 @@ run_tests "memsubsys1" -description { run_tests "memsubsys2" -description { Tests using small pre-allocated page and scratch blocks } -initialize { + catch {db close} sqlite3_shutdown sqlite3_config_pagecache 512 5 sqlite3_config_scratch 1000 1 |