From: Kurt Zeilenga Date: Thu, 28 Sep 2000 22:25:19 +0000 (+0000) Subject: Disable debugging X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1862 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=160bf009755b2427663d0e1eb356b50bc74df118;p=openldap Disable debugging --- diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index d3e03423af..1531f14d65 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -14,7 +14,7 @@ #define IDL_CMP(x,y) ( x < y ? -1 : ( x > y ? 1 : 0 ) ) -#define IDL_DEBUG +#undef IDL_DEBUG #ifdef IDL_DEBUG void idl_dump( ID *ids ) { @@ -40,7 +40,7 @@ void idl_dump( ID *ids ) unsigned bdb_idl_search( ID *ids, ID id ) { -#define IDL_BINARY_SEARCH +#undef IDL_BINARY_SEARCH #ifdef IDL_BINARY_SEARCH /* * binary search of id in ids diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 83ffc3f029..285ccfa18e 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -317,9 +317,8 @@ bdb_initialize( bi->bi_acl_group = bdb_group; bi->bi_acl_attribute = bdb_attribute; - - bi->bi_chk_referrals = bdb_referrals; #endif + bi->bi_chk_referrals = bdb_referrals; bi->bi_entry_release_rw = 0;