From dd9c56f0fbe0925067642964c77f3ebff1a906de Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 15 Nov 2011 11:23:00 -0800 Subject: [PATCH] More s/DEBUG/MDB_DEBUG/ --- libraries/libmdb/mdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index cab5da2..bec30d3 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -2959,7 +2959,7 @@ mdb_node_search(MDB_cursor *mc, MDB_val *key, int *exactp) nkeys = NUMKEYS(mp); -#if DEBUG +#if MDB_DEBUG { pgno_t pgno; COPY_PGNO(pgno, mp->mp_pgno); @@ -4521,7 +4521,7 @@ mdb_node_del(MDB_page *mp, indx_t indx, int ksize) MDB_node *node; char *base; -#if DEBUG +#if MDB_DEBUG { pgno_t pgno; COPY_PGNO(pgno, mp->mp_pgno); @@ -5123,7 +5123,7 @@ mdb_rebalance(MDB_cursor *mc) unsigned int ptop; MDB_cursor mn; -#if DEBUG +#if MDB_DEBUG { pgno_t pgno; COPY_PGNO(pgno, mc->mc_pg[mc->mc_top]->mp_pgno); @@ -5134,7 +5134,7 @@ mdb_rebalance(MDB_cursor *mc) #endif if (PAGEFILL(mc->mc_txn->mt_env, mc->mc_pg[mc->mc_top]) >= FILL_THRESHOLD) { -#if DEBUG +#if MDB_DEBUG pgno_t pgno; COPY_PGNO(pgno, mc->mc_pg[mc->mc_top]->mp_pgno); DPRINTF("no need to rebalance page %zu, above fill threshold",