fix subtree shortcut (ITS#4856)

This commit is contained in:
Pierangelo Masarati 2007-03-05 19:39:32 +00:00
parent f88449bcba
commit d07f85fc91
2 changed files with 1 additions and 2 deletions

View file

@ -100,7 +100,7 @@ see \fBupper_func\fP, \fBupper_needs_cast\fP, \fBconcat_pattern\fP
and \fBstrcast_func\fP in "HELPER CONFIGURATION" for details.
.TP
.B use_subtree_shortcut { NO | yes }
.B use_subtree_shortcut { YES | no }
Do not use the subtree condition when the searchBase is the database
suffix, and the scope is subtree; rather collect all entries.

View file

@ -2179,7 +2179,6 @@ backsql_search( Operation *op, SlapReply *rs )
case LDAP_SCOPE_SUBTREE:
/* FIXME: this should never fail... */
if ( !dnIsSuffix( &eid->eid_ndn, &op->o_req_ndn ) ) {
assert( 0 );
goto next_entry2;
}
break;