diff options
author | drh <drh@noemail.net> | 2002-02-03 19:15:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-02-03 19:15:02 +0000 |
commit | 8c87e6e0ffcaadbb32169caac9766a553ca970fa (patch) | |
tree | 2d845da80a8820c5660809a95dd5794118be8c36 /src | |
parent | 24e97df9c7da9e0b451ab6ae2bcd8a049da02967 (diff) | |
download | sqlite-8c87e6e0ffcaadbb32169caac9766a553ca970fa.tar.gz sqlite-8c87e6e0ffcaadbb32169caac9766a553ca970fa.zip |
Reenable testing code even if NDEBUG is defined. (CVS 367)
FossilOrigin-Name: 0090c279d83ee355fbac8a484401d29bfa50b0dc
Diffstat (limited to 'src')
-rw-r--r-- | src/btree.c | 6 | ||||
-rw-r--r-- | src/btree.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/btree.c b/src/btree.c index 49616ec7d..4f90df6d2 100644 --- a/src/btree.c +++ b/src/btree.c @@ -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 diff --git a/src/btree.h b/src/btree.h index 5d31f4835..e6edc4c47 100644 --- a/src/btree.h +++ b/src/btree.h @@ -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*); |