diff options
author | drh <drh@noemail.net> | 2008-09-03 01:08:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-09-03 01:08:00 +0000 |
commit | cc91e7f83e1b77586cec218531f62369a5d005df (patch) | |
tree | 3736d7112027760077255c07bafd169bb2eb3366 /src/tclsqlite.c | |
parent | 039963ad33dd7bad5c065ed1142ab0efc08fd0e7 (diff) | |
download | sqlite-cc91e7f83e1b77586cec218531f62369a5d005df.tar.gz sqlite-cc91e7f83e1b77586cec218531f62369a5d005df.zip |
Make the default threading mode multithread (-nomutex) in the TCL interface. (CVS 5670)
FossilOrigin-Name: d9e826942673ad048d611c014bfbee39ab5535c8
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index c83fd2014..083b31c29 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -12,7 +12,7 @@ ** A TCL Interface to SQLite. Append this file to sqlite3.c and ** compile the whole thing to build a TCL-enabled version of SQLite. ** -** $Id: tclsqlite.c,v 1.222 2008/09/03 00:43:15 drh Exp $ +** $Id: tclsqlite.c,v 1.223 2008/09/03 01:08:01 drh Exp $ */ #include "tcl.h" #include <errno.h> @@ -2327,7 +2327,7 @@ static int DbMain(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){ int i; const char *zFile; const char *zVfs = 0; - int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; + int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | SQLITE_OPEN_NOMUTEX; Tcl_DString translatedFilename; if( objc==2 ){ zArg = Tcl_GetStringFromObj(objv[1], 0); |