diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test1.c b/src/test1.c index 695a34e87..2f6a4b599 100644 --- a/src/test1.c +++ b/src/test1.c @@ -13,7 +13,7 @@ ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** -** $Id: test1.c,v 1.142 2005/06/07 02:12:30 drh Exp $ +** $Id: test1.c,v 1.143 2005/06/07 07:58:49 danielk1977 Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -3075,7 +3075,6 @@ int Sqlitetest1_Init(Tcl_Interp *interp){ extern int sqlite3_os_trace; extern int sqlite3_sync_count, sqlite3_fullsync_count; extern int sqlite3_opentemp_count; - for(i=0; i<sizeof(aCmd)/sizeof(aCmd[0]); i++){ Tcl_CreateCommand(interp, aCmd[i].zName, aCmd[i].xProc, 0, 0); @@ -3096,8 +3095,10 @@ int Sqlitetest1_Init(Tcl_Interp *interp){ (char*)&sqlite3_current_time, TCL_LINK_INT); Tcl_LinkVar(interp, "sqlite_os_trace", (char*)&sqlite3_os_trace, TCL_LINK_INT); +#ifndef SQLITE_OMIT_DISKIO Tcl_LinkVar(interp, "sqlite_opentemp_count", (char*)&sqlite3_opentemp_count, TCL_LINK_INT); +#endif Tcl_LinkVar(interp, "sqlite_static_bind_value", (char*)&sqlite_static_bind_value, TCL_LINK_STRING); Tcl_LinkVar(interp, "sqlite_temp_directory", |