diff options
author | drh <drh@noemail.net> | 2004-02-12 20:49:36 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2004-02-12 20:49:36 +0000 |
commit | e384a4ed4e50a3d777863e0f9377010b12b3e8e8 (patch) | |
tree | 846118e8a9146bb3e89bc28116a3e793cee2e350 /src/tclsqlite.c | |
parent | c602f9ae01492da0c1f893dbd9a02773d1be6b4c (diff) | |
download | sqlite-e384a4ed4e50a3d777863e0f9377010b12b3e8e8.tar.gz sqlite-e384a4ed4e50a3d777863e0f9377010b12b3e8e8.zip |
Add a new parameter to the (unimplemented) encryption API. (CVS 1234)
FossilOrigin-Name: 5fe8f02306cf1c0af2148835cee0df3003ad0874
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 1857d50ab..2ef5bfa9e 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -11,7 +11,7 @@ ************************************************************************* ** A TCL Interface to SQLite ** -** $Id: tclsqlite.c,v 1.57 2004/02/11 10:37:23 drh Exp $ +** $Id: tclsqlite.c,v 1.58 2004/02/12 20:49:36 drh Exp $ */ #ifndef NO_TCL /* Omit this whole file if TCL is unavailable */ @@ -1064,7 +1064,7 @@ static int DbMain(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){ memset(p, 0, sizeof(*p)); zFile = Tcl_GetStringFromObj(objv[2], 0); #ifdef SQLITE_HAS_CODEC - p->db = sqlite_open_encrypted(zFile, pKey, nKey, &zErrMsg); + p->db = sqlite_open_encrypted(zFile, pKey, nKey, 0, &zErrMsg); #else p->db = sqlite_open(zFile, mode, &zErrMsg); #endif |