Commit 92ab6def authored by David Lawrence's avatar David Lawrence
Browse files

don't redefine DNS_RBT_ANCESTORBLOCK to a tiny size when ISC_MEM_DEBUG is

defined, as it is by default now.  huge performance hit that we would
likely have been slow to notice if not for the t_rbt chain tests
having a bug. :-)
parent 12a75be8
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: rbt.c,v 1.81 2000/05/19 05:58:48 tale Exp $ */
/* $Id: rbt.c,v 1.82 2000/06/06 23:25:29 tale Exp $ */
/* Principal Authors: DCL */
......@@ -151,7 +151,7 @@ Name(dns_rbtnode_t *node) {
static void dns_rbt_printnodename(dns_rbtnode_t *node);
#endif
#if defined(ISC_MEM_DEBUG) || defined(RBT_MEM_TEST)
#ifdef RBT_MEM_TEST
#undef DNS_RBT_ANCESTORBLOCK
#define DNS_RBT_ANCESTORBLOCK 1 /* To give the reallocation code a workout. */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment