]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Reenable testing code even if NDEBUG is defined. (CVS 367)
authordrh <drh@noemail.net>
Sun, 3 Feb 2002 19:15:02 +0000 (19:15 +0000)
committerdrh <drh@noemail.net>
Sun, 3 Feb 2002 19:15:02 +0000 (19:15 +0000)
FossilOrigin-Name: 0090c279d83ee355fbac8a484401d29bfa50b0dc

manifest
manifest.uuid
src/btree.c
src/btree.h

index 378e652632a065d63e188ef0a9bc852f1278775d..475c98fc69ba05fe253a751754aac255769e94ed 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sa\sserious\sbug\sin\sINSERT\swhen\sthe\ssource\sis\sa\sSELECT.\s(CVS\s366)
-D 2002-02-03T19:06:03
+C Reenable\stesting\scode\seven\sif\sNDEBUG\sis\sdefined.\s(CVS\s367)
+D 2002-02-03T19:15:02
 F Makefile.in 9fa4277413bf1d9cf91365f07d4108d7d87ed2af
 F Makefile.template 3372d45f8853afdb70bd30cc6fb50a3cd9069834
 F README a4c0ba11354ef6ba0776b400d057c59da47a4cc0
@@ -19,8 +19,8 @@ F ltmain.sh e9ed72eb1d690f447c13945eaf69e28af531eda1
 F publish.sh 5b59f4aff037aafa0e4a3b6fa599495dbd73f360
 F sqlite.1 2e2bb0529ef468ade9e4322bd609d0695fb9ded9
 F src/TODO af7f3cab0228e34149cf98e073aa83d45878e7e6
-F src/btree.c 9d7a185510113c7d3a6e7ee9d4912f89838533a6
-F src/btree.h 53476ad4f76537591dceded79fa484a2dc168888
+F src/btree.c 340254ee2ea8b3bd8b60f9768b20382b4909eec0
+F src/btree.h b131caa44354d0305734d87b1c71440b4c436608
 F src/build.c 29504057ac5e2f40c08f19cb1574bd0512353169
 F src/delete.c f8ad71be53cf18656b6573de65395852fe817f0c
 F src/expr.c a2a87dbd411a508ff89dffa90505ad42dac2f920
@@ -122,7 +122,7 @@ F www/speed.tcl 83457b2bf6bb430900bd48ca3dd98264d9a916a5
 F www/sqlite.tcl 8b5884354cb615049aed83039f8dfe1552a44279
 F www/tclsqlite.tcl 829b393d1ab187fd7a5e978631b3429318885c49
 F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218
-P 7c65029e5bf26eb640aef529a7421cd0d6ffd1a9
-R 4e3b7ab35202d05c1b0326ce879539fa
+P 20ea737536700b016385c70105a2af8b2bffce2b
+R fc7dddb7f2cee20f2fcdc9937b75f980
 U drh
-Z 666cc540a7569a442b5d9d36de8269cd
+Z bcdd992e6a7f8afe077674aafce72087
index d72f712a95b8f527a3ab7d85b9e80f2dd109ee5d..9656b3a6263b82e95cb9b37b013d0b55f1be86b5 100644 (file)
@@ -1 +1 @@
-20ea737536700b016385c70105a2af8b2bffce2b
\ No newline at end of file
+0090c279d83ee355fbac8a484401d29bfa50b0dc
\ No newline at end of file
index 49616ec7d1779ceba45fb8c8a5531bb9f42da535..4f90df6d2e5e6752cdc4d483056a311384d54a51 100644 (file)
@@ -9,7 +9,7 @@
 **    May you share freely, never taking more than you give.
 **
 *************************************************************************
-** $Id: btree.c,v 1.51 2002/02/03 19:06:03 drh Exp $
+** $Id: btree.c,v 1.52 2002/02/03 19:15:02 drh Exp $
 **
 ** This file implements a external (disk-based) database using BTrees.
 ** For a detailed discussion of BTrees, refer to
@@ -2459,9 +2459,9 @@ int sqliteBtreeUpdateMeta(Btree *pBt, int *aMeta){
 ** All the code the follows is for testing and troubleshooting the BTree
 ** subsystem.  None of the code that follows is used during normal operation.
 ** All of the following code is omitted if the library is compiled with
-** the -DNDEBUG=1 compiler option.
+** the -DNDEBUG2=1 compiler option.
 ******************************************************************************/
-#ifndef NDEBUG
+#ifndef NDEBUG2
 
 /*
 ** Print a disassembly of the given page on standard output.  This routine
index 5d31f4835b41212690d859e96ec9bd2fa03e4ccd..e6edc4c471f690655ca9da28b3d73c82292736cf 100644 (file)
@@ -13,7 +13,7 @@
 ** subsystem.  See comments in the source code for a detailed description
 ** of what each interface routine does.
 **
-** @(#) $Id: btree.h,v 1.21 2002/02/03 17:37:36 drh Exp $
+** @(#) $Id: btree.h,v 1.22 2002/02/03 19:15:02 drh Exp $
 */
 #ifndef _BTREE_H_
 #define _BTREE_H_
@@ -57,7 +57,7 @@ int sqliteBtreeGetMeta(Btree*, int*);
 int sqliteBtreeUpdateMeta(Btree*, int*);
 
 
-#ifndef NDEBUG
+#ifndef NDEBUG2
 int sqliteBtreePageDump(Btree*, int, int);
 int sqliteBtreeCursorDump(BtCursor*, int*);
 struct Pager *sqliteBtreePager(Btree*);