From ce01b5d755916512f065246440aa761d2ef91dac Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 28 Sep 2000 00:10:41 +0000 Subject: [PATCH] Don't complain about non-existance IDL "range" candidates --- servers/slapd/back-bdb/search.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 9ae8746ec9..2fb50d5977 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -202,9 +202,12 @@ bdb_search( rc = bdb_id2entry( be, NULL, id, &e ); if ( e == NULL ) { - Debug( LDAP_DEBUG_TRACE, - "bdb_search: candidate %ld not found\n", - id, 0, 0 ); + if( !BDB_IDL_IS_RANGE(candidates) ) { + /* only complain for non-range IDLs */ + Debug( LDAP_DEBUG_TRACE, + "bdb_search: candidate %ld not found\n", + id, 0, 0 ); + } goto loop_continue; } -- 2.39.5