After running speed1.test and speed1p.test, reset the size of the lookaside buffer. Otherwise, subsequent runs of malloc5.test may report an error. Changes to test code only. (CVS 5824)

FossilOrigin-Name: 9283478e69d84aa99b2d4636587c8c0b34e7c4da
This commit is contained in:
danielk1977
2008-10-15 11:43:55 +00:00
parent 4bd3ce69ac
commit ab7bee892b
5 changed files with 29 additions and 16 deletions
+5 -2
View File
@@ -11,12 +11,12 @@
# This file implements regression tests for SQLite library. The
# focus of this script is measuring executing speed.
#
# $Id: speed1.test,v 1.9 2008/07/30 13:15:46 drh Exp $
# $Id: speed1.test,v 1.10 2008/10/15 11:43:55 danielk1977 Exp $
#
sqlite3_shutdown
#sqlite3_config_scratch 29000 1
sqlite3_config_lookaside 1000 300
set old_lookaside [sqlite3_config_lookaside 1000 300]
#sqlite3_config_pagecache 1024 10000
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -290,4 +290,7 @@ do_test speed1-1.2 {
} 10000
speed_trial_summary speed1
db close
sqlite3_shutdown
eval sqlite3_config_lookaside $old_lookaside
finish_test