/ Check-in [d484eaf8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not run sharedA.test if the system is not threadsafe.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | shared-cache-fixes
Files: files | file ages | folders
SHA1:d484eaf8d6dfaf2c1065b93b2a52a6db91c09fa4
User & Date: dan 2013-05-15 15:53:52
Context
2013-05-15
16:08
Fix the sharedA.test module so that it does not attempt to run TCL callbacks on a different thread from where the interpreter was originally created. Closed-Leaf check-in: 65ff754e user: drh tags: shared-cache-fixes
15:53
Do not run sharedA.test if the system is not threadsafe. check-in: d484eaf8 user: dan tags: shared-cache-fixes
15:42
Merge latest trunk changes with this branch. check-in: 47dd65a8 user: dan tags: shared-cache-fixes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/sharedA.test.

11
12
13
14
15
16
17

18
19
20
21
22
23
24
#
# Test some specific circumstances to do with shared cache mode.
#


set testdir [file dirname $argv0]
source $testdir/tester.tcl

db close
set ::testprefix sharedA

set ::enable_shared_cache [sqlite3_enable_shared_cache 1]

#-------------------------------------------------------------------------
#







>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Test some specific circumstances to do with shared cache mode.
#


set testdir [file dirname $argv0]
source $testdir/tester.tcl
if {[run_thread_tests]==0} { finish_test ; return }
db close
set ::testprefix sharedA

set ::enable_shared_cache [sqlite3_enable_shared_cache 1]

#-------------------------------------------------------------------------
#