mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0
option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) FossilOrigin-Name: 02a12eb1cfe9307c66556105a1a99d657cc01ab5
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# This file contains tests that attempt to break the pcache module
|
||||
# by bombarding it with simultaneous requests from multiple threads.
|
||||
#
|
||||
# $Id: thread003.test,v 1.4 2008/08/30 09:10:17 danielk1977 Exp $
|
||||
# $Id: thread003.test,v 1.5 2008/10/07 15:25:49 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
||||
@ -22,6 +22,10 @@ if {[info commands sqlthread] eq ""} {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
ifcapable !mutex {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
|
||||
# Set up a couple of different databases full of pseudo-randomly
|
||||
# generated data.
|
||||
@ -190,5 +194,3 @@ do_test thread003.4 {
|
||||
} {0}
|
||||
|
||||
finish_test
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user