]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Exclude a static function in test1.c from the build when OMIT_DEPRECATED is defined...
authordanielk1977 <danielk1977@noemail.net>
Mon, 10 Aug 2009 04:37:49 +0000 (04:37 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Mon, 10 Aug 2009 04:37:49 +0000 (04:37 +0000)
FossilOrigin-Name: ace499506e3c7a315f66928d8a98de255491b2b9

manifest
manifest.uuid
src/test1.c

index b06107e65df8277e4be4809af173c24e928679eb..174f2b4073b24fb885f35be8ca5a3b30d924b918 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Change\smallocI.test\sto\sclose\sa\sdatabase\sconnection\sthat\swas\sbeing\sleft\sopen.\s(CVS\s6966)
-D 2009-08-10T04:26:39
+C Exclude\sa\sstatic\sfunction\sin\stest1.c\sfrom\sthe\sbuild\swhen\sOMIT_DEPRECATED\sis\sdefined.\sThis\savoids\sa\scompiler\swarning\sthat\soccurs\swith\ssome\scompilers.\s(CVS\s6967)
+D 2009-08-10T04:37:50
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in df9359da7a726ccb67a45db905c5447d5c00c6ef
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -168,7 +168,7 @@ F src/sqliteLimit.h ffe93f5a0c4e7bd13e70cd7bf84cfb5c3465f45d
 F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
 F src/table.c cc86ad3d6ad54df7c63a3e807b5783c90411a08d
 F src/tclsqlite.c e18e5013dc6bca9f25e6022fbe17ba3ccb821f95
-F src/test1.c c8f9358879876660b721369f576bf6e4ac5b9210
+F src/test1.c 0e882812c94cf35fce30fc25fbf952a33a86d70b
 F src/test2.c 0de743ec8890ca4f09e0bce5d6d5a681f5957fec
 F src/test3.c 2445c2beb5e7a0c91fd8136dc1339ec369a24898
 F src/test4.c f79ab52d27ff49b784b631a42e2ccd52cfd5c84c
@@ -741,7 +741,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl 672f81d693a03f80f5ae60bfefacd8a349e76746
-P ee034cfc71425745dda8d5fee58ae95f937c86cd
-R fa37ac4298673916a7a1170de67d4d43
+P 4f0096d7ef43f4b9f32c4d78b3dfe34271f2120a
+R 8572262da1e41d66412339ca650c3aa4
 U danielk1977
-Z 2c4f2c486224fc3bb2bc72e83ba5fd66
+Z 11f9e6a9da7f8d6c44a6b0c52b76d145
index ba43b319a49e3e6d71f2948de0587b0a38807624..2c9ea7ea0377d768508150efce0e55a55e866479 100644 (file)
@@ -1 +1 @@
-4f0096d7ef43f4b9f32c4d78b3dfe34271f2120a
\ No newline at end of file
+ace499506e3c7a315f66928d8a98de255491b2b9
\ No newline at end of file
index 72eeb1ae9134a4e8d4dacc852af2bfc5d68887a0..5976cab1ac154e84da13db8d0f3f68ce9f609587 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.353 2009/05/03 20:23:54 drh Exp $
+** $Id: test1.c,v 1.354 2009/08/10 04:37:50 danielk1977 Exp $
 */
 #include "sqliteInt.h"
 #include "tcl.h"
@@ -1099,6 +1099,7 @@ static void t1CountFinalize(sqlite3_context *context){
   }
 }
 
+#ifndef SQLITE_OMIT_DEPRECATED
 static void legacyCountStep(
   sqlite3_context *context,
   int argc,
@@ -1107,7 +1108,6 @@ static void legacyCountStep(
   /* no-op */
 }
 
-#ifndef SQLITE_OMIT_DEPRECATED
 static void legacyCountFinalize(sqlite3_context *context){
   sqlite3_result_int(context, sqlite3_aggregate_count(context));
 }