]> git.sur5r.net Git - openldap/commitdiff
Don't complain about non-existance IDL "range" candidates
authorKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 00:10:41 +0000 (00:10 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 00:10:41 +0000 (00:10 +0000)
servers/slapd/back-bdb/search.c

index 9ae8746ec996a3169cecbe5f98a3e53ee697b7d8..2fb50d59779099f5978a9ce65e3e3441dd2d8c4a 100644 (file)
@@ -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;
                }