mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Prevent the tcl test suite from throwing an exception when a threadsafe SQLite is linked against a non-threadsafe Tcl for testing. Print a warning instead. Ticket #3753. (CVS 6389)
FossilOrigin-Name: a22e7c818b2227a4c80ad84b299d11f365e3b17d
This commit is contained in:
@@ -12,20 +12,12 @@
|
||||
# This test attempts to deadlock SQLite in shared-cache mode.
|
||||
#
|
||||
#
|
||||
# $Id: thread002.test,v 1.8 2009/03/17 15:39:31 drh Exp $
|
||||
# $Id: thread002.test,v 1.9 2009/03/26 14:48:07 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
||||
source $testdir/tester.tcl
|
||||
source $testdir/thread_common.tcl
|
||||
if {[info commands sqlthread] eq ""} {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
ifcapable !attach||!mutex {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
if {[run_thread_tests]==0} { finish_test ; return }
|
||||
|
||||
db close
|
||||
set ::enable_shared_cache [sqlite3_enable_shared_cache 1]
|
||||
|
||||
Reference in New Issue
Block a user