]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a problem in the noop-mutexes used for testing. (CVS 4420)
authordanielk1977 <danielk1977@noemail.net>
Mon, 10 Sep 2007 16:12:59 +0000 (16:12 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Mon, 10 Sep 2007 16:12:59 +0000 (16:12 +0000)
FossilOrigin-Name: 4dbeb915b3138194abd5554b52003162235f9a5f

manifest
manifest.uuid
src/mutex.c

index 9031bcf2df1ac48977c725a82c7d0764207b266b..a91c6cffb09a06dd6c1d031707d319e19f8a217e 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\sanother\stest\sfile\sto\shelp\sverify\sthread-safety.\s(CVS\s4419)
-D 2007-09-10T10:53:02
+C Fix\sa\sproblem\sin\sthe\snoop-mutexes\sused\sfor\stesting.\s(CVS\s4420)
+D 2007-09-10T16:13:00
 F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -104,7 +104,7 @@ F src/malloc.c de4e77fe70a9a0ac47a1c3a874422b107231bf31
 F src/md5.c c5fdfa5c2593eaee2e32a5ce6c6927c986eaf217
 F src/mem1.c 1f85902b98b38bd8a8b0c24012933957256db13e
 F src/mem2.c b97b4662bf5902cbde0a849c4739e64ce7b07177
-F src/mutex.c 40e5ba09d56863895882a0204d93832e9960ea78
+F src/mutex.c 3259f62c2429967aee6dc112117a6d2f499ef061
 F src/mutex.h 079fa6fe9da18ceb89e79012c010594c6672addb
 F src/mutex_os2.c d47e9bd495583dd31263d8fe55160a31eb600a3c
 F src/mutex_unix.c ff77650261a245035b79c5c8a174f4e05d3cae8a
@@ -575,7 +575,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 54f87899033ddd892bfd3a16310f64fb42d807ae
-R d80f0142f0a5e23af45dc05a2499fc1e
+P c758cc1d885b4528c0b0ef6382119f20956d4816
+R 49d7d1c932956f3a2d7a33de5166af9d
 U danielk1977
-Z d1aeb7bb16c21c3bfd6864755301855d
+Z 7e615a96a18db6674649c8c6bc236ccf
index 544a86c9556be34ce10a9062b333df2ea79b355c..0a73fb8873e354923e32538b1bebbbb9e2cec190 100644 (file)
@@ -1 +1 @@
-c758cc1d885b4528c0b0ef6382119f20956d4816
\ No newline at end of file
+4dbeb915b3138194abd5554b52003162235f9a5f
\ No newline at end of file
index bb33656a2e7b14a4387cf4a5f44d37a6e25dd08b..5815ff216984f8e137ee5d90166e5ddd90137bb8 100644 (file)
@@ -19,7 +19,7 @@
 ** implementation is suitable for testing.
 ** debugging purposes
 **
-** $Id: mutex.c,v 1.15 2007/08/28 16:34:43 drh Exp $
+** $Id: mutex.c,v 1.16 2007/09/10 16:13:00 danielk1977 Exp $
 */
 #include "sqliteInt.h"
 
@@ -44,7 +44,7 @@ struct sqlite3_mutex {
 ** that means that a mutex could not be allocated. 
 */
 sqlite3_mutex *sqlite3_mutex_alloc(int id){
-  static sqlite3_mutex aStatic[4];
+  static sqlite3_mutex aStatic[5];
   sqlite3_mutex *pNew = 0;
   switch( id ){
     case SQLITE_MUTEX_FAST: