]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a bug in malloc.test causing the exclusive permutation to fail. Changes to test...
authordanielk1977 <danielk1977@noemail.net>
Wed, 4 Feb 2009 08:17:57 +0000 (08:17 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Wed, 4 Feb 2009 08:17:57 +0000 (08:17 +0000)
FossilOrigin-Name: 72745bde90a9b4ffae1496f1668e4bb0678bd400

manifest
manifest.uuid
test/malloc.test

index 7f2e341df84a41f180143c30a3847ab5db858141..3830cc8c8e93755666dfc427027f2f9c607df680 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Changes\sto\scompletely\sremove\sall\sfloating\spoint\sops\sif\sSQLITE_OMIT_FLOATING_POINT\sdefined.\s\sNote\sthat\sw/o\sfp,\sdate/time,\sround,\snan,\setc.\sare\sall\sgone\sor\slimited\sin\sfunctionality.\s\s\sUpdated\ssome\sof\sthe\stest\sscripts\sto\ssupport\smissing\sfp\sand\s64-bit\sfunctionality.\s\s\sTicket\s#3029.\s(CVS\s6250)
-D 2009-02-04T03:59:25
+C Fix\sa\sbug\sin\smalloc.test\scausing\sthe\sexclusive\spermutation\sto\sfail.\sChanges\sto\stest\scode\sonly.\s(CVS\s6251)
+D 2009-02-04T08:17:57
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in c7a5a30fb6852bd7839b1024e1661da8549878ee
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -436,7 +436,7 @@ F test/lock6.test eafa70db6f50b6f6291f4f83b80e98834724a50d
 F test/lookaside.test e69f822f13745f1d5c445c6e30e30f059f30c8e5
 F test/main.test 187a9a1b5248ed74a83838c581c15ec6023b555b
 F test/make-where7.tcl 40bb740b37eead343eaf57b74ab72d2a5a304745
-F test/malloc.test 228840643d2a4bc536bc8f677375948db62dbe1f
+F test/malloc.test 8e3ad667ef1c55147dcf9190b5edd3bf808ab147
 F test/malloc3.test 4bc57f850b212f706f3e1b37c4eced1d5a727cd1
 F test/malloc4.test 957337613002b7058a85116493a262f679f3a261
 F test/malloc5.test 20d1a0884b03edf811bfd7005faade028367e7c8
@@ -700,7 +700,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
 F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P 6301f08a2b32289a49c4af994f2770318c444b49
-R 1e107d374c57a504206ef2bd99db8710
-U shane
-Z a11c50747a0f4d959a770fa2e57dbba2
+P 5cef400023205b55152b91441acc78f9cd8d58a9
+R 8a047b5321fafe0b6dd980b42ce1d91f
+U danielk1977
+Z bae95d6f7b65009f90955deca10a86e3
index 41d95a30720c6c6de2489c5254278b123a7ef5f2..1e4216dba1e1696894528016a27d48adc7a300d7 100644 (file)
@@ -1 +1 @@
-5cef400023205b55152b91441acc78f9cd8d58a9
\ No newline at end of file
+72745bde90a9b4ffae1496f1668e4bb0678bd400
\ No newline at end of file
index b9af7426c0b7e1c3668e75098fcef540b997d149..9a7c3ea01949cb7b04ab47697e174a222e28b1a7 100644 (file)
@@ -16,7 +16,7 @@
 # to see what happens in the library if a malloc were to really fail
 # due to an out-of-memory situation.
 #
-# $Id: malloc.test,v 1.74 2009/01/16 16:40:14 danielk1977 Exp $
+# $Id: malloc.test,v 1.75 2009/02/04 08:17:57 danielk1977 Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -736,6 +736,7 @@ do_malloc_test 32 -tclprep {
   # Build a small database containing an indexed table.
   #
   db eval {
+    PRAGMA locking_mode = normal;
     BEGIN;
     CREATE TABLE t1(a PRIMARY KEY, b);
     INSERT INTO t1 VALUES(1, 'one');
@@ -749,7 +750,10 @@ do_malloc_test 32 -tclprep {
   # into the second connections pager cache.
   #
   sqlite3 db2 test.db
-  db2 eval { SELECT b FROM t1 }
+  db2 eval { 
+    PRAGMA locking_mode = normal;
+    SELECT b FROM t1;
+  }
 
 } -tclbody {
   # Running in exclusive mode, perform a database transaction that