mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-07 08:41:17 +03:00
Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209)
FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
This commit is contained in:
@ -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 @@ ifcapable {!pager_pragmas} {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
sqlite3_soft_heap_limit 0
|
||||
|
||||
proc pager_cache_size {db} {
|
||||
set bt [btree_from_db $db]
|
||||
@ -55,5 +56,6 @@ for {set ii 0} {$ii < 10} {incr ii} {
|
||||
} $::cache_size
|
||||
|
||||
}
|
||||
sqlite3_soft_heap_limit $soft_limit
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user