Handle SLAPD_FILTER_COMPUTED cases

This commit is contained in:
Howard Chu 2003-04-29 00:42:54 +00:00
parent a0bcff1630
commit 792e97790d

View File

@ -59,6 +59,17 @@ bdb_filter_candidates(
switch ( f->f_choice ) {
case SLAPD_FILTER_COMPUTED:
switch( f->f_result ) {
case LDAP_COMPARE_FALSE:
BDB_IDL_ZERO( ids );
break;
case LDAP_COMPARE_TRUE: {
struct bdb_info *bdb = (struct bdb_info *)op->o_bd->be_private;
BDB_IDL_ALL( bdb, ids );
} break;
case SLAPD_COMPARE_UNDEFINED:
break;
}
break;
case SLAPD_FILTER_DN_ONE: