From 6c7a1194c3e32aa719b3e46f0f7cb17ce30c8e08 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 16 Mar 2003 18:48:44 +0000 Subject: [PATCH] reorder to statements for debugging purposes --- servers/slapd/back-bdb/search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index ce639d26bc..bbd63bd3d3 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -343,13 +343,13 @@ dn2entry_retry: scope, deref, candidates ); } - /* need normalized dn below */ - ber_dupbv( &realbase, &e->e_nname ); - /* start cursor at beginning of candidates. */ cursor = 0; + /* need normalized dn below */ + ber_dupbv( &realbase, &e->e_nname ); + if ( e != &slap_entry_root ) { bdb_cache_return_entry_r(bdb->bi_dbenv, &bdb->bi_cache, e, &lock); } -- 2.39.5