Make sure the lookaside test script saturates the lookaside buffer even

when SQLITE_DEBUG is off.  Ticket #3289 (CVS 5560)

FossilOrigin-Name: d6aacc5dc7c06f97fb5faa3d85a8f2d8ab0dd554
This commit is contained in:
drh 2008-08-12 15:48:25 +00:00
parent 93ed56d9ea
commit ec444fc163
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Revise\sthe\sinitialization\sand\sshutdown\slogic\sso\sthat\sit\sno\slonger\skeeps\na\srecursive\smutex\sallocated\sfor\sthe\swhole\sinterval\sbut\sinstead\sreleases\nthe\smutex\sas\ssoon\sas\spossible.\s\sDo\snot\sreset\sstatus\svalues\supon\sinitialization.\s(CVS\s5559)
D 2008-08-12T15:21:12
C Make\ssure\sthe\slookaside\stest\sscript\ssaturates\sthe\slookaside\sbuffer\seven\nwhen\sSQLITE_DEBUG\sis\soff.\s\sTicket\s#3289\s(CVS\s5560)
D 2008-08-12T15:48:25
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in 2713ea64947be3b35f35d9a3158bb8299c90b019
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -393,7 +393,7 @@ F test/lock2.test 018b846f6f3b3b695fad07e317b7988442b556f4
F test/lock3.test 615111293cf32aa2ed16d01c6611737651c96fb9
F test/lock4.test 09d97d52cae18fadfe631552af9880dac6b3ae90
F test/lock5.test f4eeb0400cf65c37f733cb3c74401136f8c46acd
F test/lookaside.test 48846c5620a0d4529e53fcb9d2e0e8b028833c6a
F test/lookaside.test 8866ea41301d74993423c99e523322fca09c259e
F test/main.test 8d77c161757ef7d96eaff0413daa7120c3b316fe
F test/malloc.test 69f5bb5a13b24edb1322fc1f42894f9d2f6446b1
F test/malloc3.test 094f8195fe8e409bd4da0f1d769f7745faec62c8
@ -617,7 +617,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
P 42247b917ae5a5c0d81b934200810755d0040282
R 69ce11efb4890d98b6c9a2863d484581
P 697fe7a3167c22a3232ce154e9d47cf75af613c4
R bc3261e0e67b2840551eab89813d1cbf
U drh
Z be8367a1b5dd5ee08063dfae6619d193
Z 492a17374325436959e89a8ba7f54c34

View File

@ -1 +1 @@
697fe7a3167c22a3232ce154e9d47cf75af613c4
d6aacc5dc7c06f97fb5faa3d85a8f2d8ab0dd554

View File

@ -11,7 +11,7 @@
#
# Tests for the lookaside memory allocator.
#
# $Id: lookaside.test,v 1.4 2008/08/05 17:53:24 drh Exp $
# $Id: lookaside.test,v 1.5 2008/08/12 15:48:25 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -35,7 +35,7 @@ do_test lookaside-1.3 {
sqlite3_db_status db SQLITE_DBSTATUS_LOOKASIDE_USED 0
} {0 0 0}
do_test lookaside-1.4 {
db eval {CREATE TABLE t1(x);}
db eval {CREATE TABLE t1(w,x,y,z);}
foreach {x y z} [sqlite3_db_status db SQLITE_DBSTATUS_LOOKASIDE_USED 0] break
expr {$x==0 && $y<$z && $z==20}
} {1}