aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-01-13 23:54:32 +0000
committerdrh <drh@noemail.net>2005-01-13 23:54:32 +0000
commit3b93bc8cb1d3ba0fcc7bea18acdafb6f86a39b4b (patch)
tree40bdbdffe698a4918cf6d4eabb3401ed4ce75670 /src/tclsqlite.c
parent8d65973d93eb5515d1366bd1a2348fec98956557 (diff)
downloadsqlite-3b93bc8cb1d3ba0fcc7bea18acdafb6f86a39b4b.tar.gz
sqlite-3b93bc8cb1d3ba0fcc7bea18acdafb6f86a39b4b.zip
Need SQLITE_MEMDEBUG instead of SQLITE_DEBUG in tclsqlite.c. (CVS 2209)
FossilOrigin-Name: 6e905270a933fd4c99f6db6707ed79166f6484ee
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r--src/tclsqlite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c
index 00dee1837..bd277f98b 100644
--- a/src/tclsqlite.c
+++ b/src/tclsqlite.c
@@ -11,7 +11,7 @@
*************************************************************************
** A TCL Interface to SQLite
**
-** $Id: tclsqlite.c,v 1.114 2005/01/12 12:44:04 danielk1977 Exp $
+** $Id: tclsqlite.c,v 1.115 2005/01/13 23:54:32 drh Exp $
*/
#ifndef NO_TCL /* Omit this whole file if TCL is unavailable */
@@ -1412,12 +1412,12 @@ static int DbMain(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){
#ifdef SQLITE_TEST
{
extern void Md5_Register(sqlite3*);
-#ifdef SQLITE_DEBUG
+#ifdef SQLITE_MEMDEBUG
int mallocfail = sqlite3_iMallocFail;
sqlite3_iMallocFail = 0;
#endif
Md5_Register(p->db);
-#ifdef SQLITE_DEBUG
+#ifdef SQLITE_MEMDEBUG
sqlite3_iMallocFail = mallocfail;
#endif
}