]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add "#ifndef OMIT_DISKIO" condition around sqlite3_opentemp_count variable
authordanielk1977 <danielk1977@noemail.net>
Tue, 7 Jun 2005 07:58:48 +0000 (07:58 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Tue, 7 Jun 2005 07:58:48 +0000 (07:58 +0000)
in test interface code. (CVS 2501)

FossilOrigin-Name: f2ce662e81cea4983f335606ed18a74b97d35609

manifest
manifest.uuid
src/test1.c

index bf3f6273185300626d7deae155b9637f6af0868b..be645c18c11828add9e947bd8194bb7d94544289 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\stests\sto\smake\ssure\sstatement\sjournals\sare\sonly\sopened\swhen\snecessary.\s(CVS\s2500)
-D 2005-06-07T02:12:30
+C Add\s"#ifndef\sOMIT_DISKIO"\scondition\saround\ssqlite3_opentemp_count\svariable\nin\stest\sinterface\scode.\s(CVS\s2501)
+D 2005-06-07T07:58:49
 F Makefile.in 8129e7f261d405db783676f9ca31e0841768c652
 F Makefile.linux-gcc 06be33b2a9ad4f005a5f42b22c4a19dab3cbb5c7
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -66,7 +66,7 @@ F src/sqlite.h.in f28f5b018f03a66aaf0bc1ab6985d8605d6b964f
 F src/sqliteInt.h 42b464cd380dd81bf7873476fc5974985a506d71
 F src/table.c 25b3ff2b39b7d87e8d4a5da0713d68dfc06cbee9
 F src/tclsqlite.c af0f002d9d6ab4f7f32b9bee5b57665946e76ad9
-F src/test1.c 2ba6be1ffd072792dcdd65f1306ff4e2320aee4e
+F src/test1.c 1ab9e62dd51a999ea1842f0bc8ae677d5ca04861
 F src/test2.c 716c1809dba8e5be6093703e9cada99d627542dc
 F src/test3.c 683e1e3819152ffd35da2f201e507228921148d0
 F src/test4.c 7c6b9fc33dd1f3f93c7f1ee6e5e6d016afa6c1df
@@ -281,7 +281,7 @@ F www/tclsqlite.tcl 425be741b8ae664f55cb1ef2371aab0a75109cf9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 528299b8316726dbcc5548e9aa0648c8b1bd055b
-P 989573a53b58c1e959ad276119298ba2ea7448e6
-R 27f28696608fee7d814bb075f19fef66
-U drh
-Z ebb11158767e3ff2d46645452c3e830b
+P 914d6e6549446a6ddf25e5da57d2fe9446750625
+R e2637215c4bdb7a3df41c05cc40ec0df
+U danielk1977
+Z 1de5b0a92e694980e470c976bc3e29a6
index 7f9dd61140cc533d8c346fdc462c6acd6c931f07..1271998118f97ec4d60c8d5d38ddfa4fbec5d83c 100644 (file)
@@ -1 +1 @@
-914d6e6549446a6ddf25e5da57d2fe9446750625
\ No newline at end of file
+f2ce662e81cea4983f335606ed18a74b97d35609
\ No newline at end of file
index 695a34e876fd1b478641f5783385cdc8f1dabf84..2f6a4b5990817fb5c8d50ab669853f42cee04dde 100644 (file)
@@ -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",