diff options
author | drh <drh@noemail.net> | 2008-03-19 19:01:21 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-03-19 19:01:21 +0000 |
commit | 81cc3548c3bd7090998279e2154749284f5c968d (patch) | |
tree | c8d2db98c0077d462b02a88b6980435a305a6703 /src/tclsqlite.c | |
parent | da84ca8de9c50e9c2b026b4679ba97da26c5c7d8 (diff) | |
download | sqlite-81cc3548c3bd7090998279e2154749284f5c968d.tar.gz sqlite-81cc3548c3bd7090998279e2154749284f5c968d.zip |
Initialize the MD5 SQL functions from test_func.c instead of using
conditional compilation in tclsqlite.c. (CVS 4885)
FossilOrigin-Name: 801a0e3c9972c1fc9f55a9c55cd0ff19fd79fa37
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index a637aa233..0d88727e1 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.210 2008/03/19 16:08:54 drh Exp $ +** $Id: tclsqlite.c,v 1.211 2008/03/19 19:01:22 drh Exp $ */ #include "tcl.h" #include <errno.h> @@ -2392,16 +2392,6 @@ static int DbMain(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){ sqlite3_close(p->db); p->db = 0; } -#ifdef SQLITE_TEST - if( p->db ){ - extern int Md5_Register(sqlite3*); - if( Md5_Register(p->db)==SQLITE_NOMEM ){ - zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(p->db)); - sqlite3_close(p->db); - p->db = 0; - } - } -#endif #ifdef SQLITE_HAS_CODEC if( p->db ){ sqlite3_key(p->db, pKey, nKey); |