From: Kurt Zeilenga Date: Thu, 28 Sep 2000 00:10:41 +0000 (+0000) Subject: Don't complain about non-existance IDL "range" candidates X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1872 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ce01b5d755916512f065246440aa761d2ef91dac;p=openldap Don't complain about non-existance IDL "range" candidates --- 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; }