diff options
author | drh <drh@noemail.net> | 2014-08-25 23:44:44 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-08-25 23:44:44 +0000 |
commit | 028696c4cc1f4bddcd376d3a290415f7eb67526e (patch) | |
tree | 97afe85907e7eda8353b65cd7653bf8626872483 /src/test_malloc.c | |
parent | 6c4ec84256b48ec243b991fbe8d419abfa345025 (diff) | |
download | sqlite-028696c4cc1f4bddcd376d3a290415f7eb67526e.tar.gz sqlite-028696c4cc1f4bddcd376d3a290415f7eb67526e.zip |
Remove the SQLITE_CONFIG_WORKER_THREADS configuration parameter. The number
of worker threads in the sorter is now determined only by the
PRAGMA threads=N setting.
FossilOrigin-Name: e3305d4b4efcbe06945ce7f6ec0f2e864244aaf9
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index 6ac030f23..900a8ac40 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -1253,31 +1253,6 @@ static int test_config_cis( return TCL_OK; } -/* -** Usage: sqlite3_config_worker_threads N -*/ -static int test_config_worker_threads( - void * clientData, - Tcl_Interp *interp, - int objc, - Tcl_Obj *CONST objv[] -){ - int rc; - int nThread; - - if( objc!=2 ){ - Tcl_WrongNumArgs(interp, 1, objv, "N"); - return TCL_ERROR; - } - if( Tcl_GetIntFromObj(interp, objv[1], &nThread) ){ - return TCL_ERROR; - } - - rc = sqlite3_config(SQLITE_CONFIG_WORKER_THREADS, nThread); - Tcl_SetResult(interp, (char *)sqlite3ErrName(rc), TCL_VOLATILE); - - return TCL_OK; -} /* ** Usage: sqlite3_dump_memsys3 FILENAME @@ -1532,7 +1507,6 @@ int Sqlitetest_malloc_Init(Tcl_Interp *interp){ { "sqlite3_config_error", test_config_error ,0 }, { "sqlite3_config_uri", test_config_uri ,0 }, { "sqlite3_config_cis", test_config_cis ,0 }, - { "sqlite3_config_worker_threads", test_config_worker_threads ,0 }, { "sqlite3_db_config_lookaside",test_db_config_lookaside ,0 }, { "sqlite3_dump_memsys3", test_dump_memsys3 ,3 }, { "sqlite3_dump_memsys5", test_dump_memsys3 ,5 }, |