From: dan Date: Thu, 4 Nov 2010 04:47:42 +0000 (+0000) Subject: Include the print_pager_state() function only if SQLITE_DEBUG is defined. X-Git-Tag: version-3.7.4~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a88adcdeb021ac2b4059913adbbc3d3ffb13b8b;p=thirdparty%2Fsqlite.git Include the print_pager_state() function only if SQLITE_DEBUG is defined. FossilOrigin-Name: 3104f17e5dd0be4f176905dde6df3be50ba28702 --- diff --git a/manifest b/manifest index 414c336c36..62a4db2d42 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Changes\sto\sallow\sFTS4\stables\sto\sbe\screated\swithout\sthe\sunderlying\s%_docsize\stable\s(in\sorder\sto\ssave\sspace). -D 2010-11-02T17:41:53 +C Include\sthe\sprint_pager_state()\sfunction\sonly\sif\sSQLITE_DEBUG\sis\sdefined. +D 2010-11-04T04:47:43 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 2c8cefd962eca0147132c7cf9eaa4bb24c656f3f F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -162,7 +162,7 @@ F src/os_common.h a8f95b81eca8a1ab8593d23e94f8a35f35d4078f F src/os_os2.c 72d0b2e562952a2464308c4ce5f7913ac10bef3e F src/os_unix.c 00a4a84aba46b61439913bebf0c10d408e42a630 F src/os_win.c 2f90f7bdec714fad51cd31b4ecad3cc1b4bb5aad -F src/pager.c c19b0e8d49220825fd382236fbbcb3063c48ce2d +F src/pager.c 1b0e87deb3994abf12e967ef5b9adc950bf85460 F src/pager.h 8167a1e720d0b7a2790079007128e594010220ad F src/parse.y 12b7ebd61ea54f0e1b1083ff69cc2c8ce9353d58 F src/pcache.c 09d38c44ab275db581f7a2f6ff8b9bc7f8c0faaa @@ -883,7 +883,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f -P 3771faa88eda3eb91264ce0982e22f53596abd4b -R 1930e53dc41c38f7661c545902820ee1 +P 31989b18f53d97eddfb39660ef04fbf9463583e0 +R 77870c9f645f63161c757949a10d4b5d U dan -Z d5d5199f8f8688f85abc4cc6dcb16369 +Z 5b77deb3710cb464f4b30c8cda028e60 diff --git a/manifest.uuid b/manifest.uuid index b78828ea1c..b78b77bbc6 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -31989b18f53d97eddfb39660ef04fbf9463583e0 \ No newline at end of file +3104f17e5dd0be4f176905dde6df3be50ba28702 \ No newline at end of file diff --git a/src/pager.c b/src/pager.c index f748a443ef..08383312af 100644 --- a/src/pager.c +++ b/src/pager.c @@ -926,7 +926,9 @@ static int assert_pager_state(Pager *p){ return 1; } +#endif /* ifndef NDEBUG */ +#ifdef SQLITE_DEBUG /* ** Return a pointer to a human readable string in a static buffer ** containing the state of the Pager object passed as an argument. This