]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Reset the writer-thread halt criteria after halting the thread. (CVS 4528)
authordanielk1977 <danielk1977@noemail.net>
Mon, 5 Nov 2007 17:01:08 +0000 (17:01 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Mon, 5 Nov 2007 17:01:08 +0000 (17:01 +0000)
FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0

manifest
manifest.uuid
test/async.test
test/async2.test
test/async3.test

index 32a5c10951f0dc6d53dc285dba495253f53a4d7c..f14cf5ba430d4fb325da5bd2fababbe8b6c7bf79 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\ssome\sminor\sproblems\swith\smalloc\sfailure\sand\sin-memory\sdatabases.\s(CVS\s4527)
-D 2007-11-05T15:30:13
+C Reset\sthe\swriter-thread\shalt\scriteria\safter\shalting\sthe\sthread.\s(CVS\s4528)
+D 2007-11-05T17:01:08
 F Makefile.in 30c7e3ba426ddb253b8ef037d1873425da6009a8
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -183,9 +183,9 @@ F test/alter2.test 489140038c13f4f9c76a0a8243eb1249f44d4ce1
 F test/alter3.test 8ce6b9c5605b3cfe7b901f454ecaf174c4f93e31
 F test/altermalloc.test 29d4a8400277efb4ba8ffe90804c6dc2fdfbf063
 F test/analyze.test 2f55535aa335785db1a2f97d3f3831c16c09f8b0
-F test/async.test ae370c6169e314f0f82dcbe59fbc8589b23dfc2f
-F test/async2.test e56affa75ed822424a6f9b12b22db8031433bb7c
-F test/async3.test 08ea0217083e4866eb1b0147158298f2a2cd1346
+F test/async.test aecaa46ed0618a3c338f3651ca4f10fbb4021044
+F test/async2.test 8998e089b0fbb3d84cdd51c25a78833486d721af
+F test/async3.test 9ffa0977a78cc6351862a1583be2b1eecd41736d
 F test/attach.test 72529edb04115675894a7399609983ea46b73ba6
 F test/attach2.test 099e46a9a753035ff1b8ec0954e18ea50a934df3
 F test/attach3.test 7b92dc8e40c1ebca9732ca6f2d3fefbd46f196df
@@ -584,7 +584,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P fa16996d99cdce9f652508e3a70b7e5747810823
-R 67904078d34cf321e2667752697e090d
+P b752906e708e1c8c76084152f5829e16e8988ef2
+R 7f1455a4cfebc5f5c43e5e1e4ec5f996
 U danielk1977
-Z bce4afc8796f379c28fab01cb3de5e6e
+Z e5e92eeb58930447253626b7e5820cf1
index b35aad651d45ffa19ba002173cbc08ad1e6dee9e..baa2661170fa950f232e6a0e459b06e34fd8f897 100644 (file)
@@ -1 +1 @@
-b752906e708e1c8c76084152f5829e16e8988ef2
\ No newline at end of file
+ecbff972a1f5c7d846c322c435fa73584655b7f0
\ No newline at end of file
index 268a7ca5b8f8707af98da26bcf2af7702009e0d8..5d53efe3498a02dd344175d34bc2d0098f23a4a9 100644 (file)
@@ -6,7 +6,7 @@
 #***********************************************************************
 # This file runs all tests.
 #
-# $Id: async.test,v 1.12 2007/09/14 16:20:01 danielk1977 Exp $
+# $Id: async.test,v 1.13 2007/11/05 17:01:08 danielk1977 Exp $
 
 
 if {[catch {sqlite3async_enable}]} {
@@ -47,6 +47,7 @@ proc do_test {name args} {
   sqlite3async_start
   sqlite3async_halt idle
   sqlite3async_wait
+  sqlite3async_halt never
 }
 
 foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
@@ -62,6 +63,7 @@ foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
   sqlite3async_halt idle
   sqlite3async_start
   sqlite3async_wait
+  sqlite3async_halt never
 }
 
 # Flush the write-queue and disable asynchronous IO. This should ensure
@@ -70,6 +72,7 @@ set sqlite3async_trace 1
 sqlite3async_halt idle
 sqlite3async_start
 sqlite3async_wait
+sqlite3async_halt never
 sqlite3async_enable 0
 set sqlite3async_trace 0
 
index cfbe06a55ff68db5108a2b5350df5bde8af06043..a687a6cedb74b56ff94ea7c0d7e3ece39d0db9d6 100644 (file)
@@ -5,7 +5,7 @@
 #
 #***********************************************************************
 #
-# $Id: async2.test,v 1.8 2007/09/05 16:54:41 danielk1977 Exp $
+# $Id: async2.test,v 1.9 2007/11/05 17:01:08 danielk1977 Exp $
 
 
 set testdir [file dirname $argv0]
@@ -71,6 +71,7 @@ foreach err [list ioerr malloc-transient malloc-persistent] {
     sqlite3async_halt idle
     sqlite3async_start
     sqlite3async_wait
+    sqlite3async_halt never
     sqlite3async_enable 0
 
     set ::sqlite_io_error_pending 0
@@ -123,5 +124,6 @@ catch {db close}
 sqlite3async_halt idle
 sqlite3async_start
 sqlite3async_wait
+sqlite3async_halt never
 
 finish_test
index 0434a285300fa7c0904fc1b7ef7c263b8517d4ee..c45ab3272073a84d5169ddff3c07bade4832aefd 100644 (file)
@@ -13,7 +13,7 @@
 # Specifically, it tests that the xFullPathname() method of
 # of the asynchronous vfs works correctly.
 #
-# $Id: async3.test,v 1.2 2007/09/05 16:54:41 danielk1977 Exp $
+# $Id: async3.test,v 1.3 2007/11/05 17:01:08 danielk1977 Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -69,5 +69,6 @@ foreach p $paths {
 db close
 sqlite3async_halt idle
 sqlite3async_wait
+sqlite3async_halt never
 sqlite3async_enable 0
 finish_test