mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Reset the writer-thread halt criteria after halting the thread. (CVS 4528)
FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user