aboutsummaryrefslogtreecommitdiff
path: root/src/test_config.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-02 15:49:47 +0000
committerdrh <drh@noemail.net>2014-09-02 15:49:47 +0000
commitbf9ed6f9af8db145efb7294b1bb05b35fc70e7fc (patch)
tree870d850426bb945aee018a2dc2612f52f3248619 /src/test_config.c
parente1ed0b0e1787b0e5c6b2b59de4e2f161a82bec22 (diff)
parentf8ede57a6165889316f8a9df8ac1166c7a568100 (diff)
downloadsqlite-bf9ed6f9af8db145efb7294b1bb05b35fc70e7fc.tar.gz
sqlite-bf9ed6f9af8db145efb7294b1bb05b35fc70e7fc.zip
Merge the latest trunk changes, including the multi-threaded sorter, into
the sessions branch. FossilOrigin-Name: d4cce2c71e64ab7b6a65a81b88b69445ed859351
Diffstat (limited to 'src/test_config.c')
-rw-r--r--src/test_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test_config.c b/src/test_config.c
index 74f3c2e7c..00843146b 100644
--- a/src/test_config.c
+++ b/src/test_config.c
@@ -103,6 +103,10 @@ static void set_options(Tcl_Interp *interp){
Tcl_SetVar2(interp, "sqlite_options", "mmap", "0", TCL_GLOBAL_ONLY);
#endif
+ Tcl_SetVar2(interp, "sqlite_options", "worker_threads",
+ STRINGVALUE(SQLITE_MAX_WORKER_THREADS), TCL_GLOBAL_ONLY
+ );
+
#if 1 /* def SQLITE_MEMDEBUG */
Tcl_SetVar2(interp, "sqlite_options", "memdebug", "1", TCL_GLOBAL_ONLY);
#else