]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, must passthru precomputed scopes
authorHoward Chu <hyc@openldap.org>
Tue, 13 May 2003 02:44:22 +0000 (02:44 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 13 May 2003 02:44:22 +0000 (02:44 +0000)
servers/slapd/back-bdb/filterindex.c

index 1664212466d67fe6f4dba3acf2748fb725ec6eff..2219d527590d749028fc622b22e8de9d8b491ce4 100644 (file)
@@ -238,6 +238,11 @@ list_candidates(
 #endif
 
        for ( f = flist; f != NULL; f = f->f_next ) {
+               /* ignore precomputed scopes */
+               if ( f->f_choice == SLAPD_FILTER_COMPUTED &&
+                    f->f_result == LDAP_SUCCESS ) {
+                       continue;
+               }
                rc = bdb_filter_candidates( op, f, save, tmp,
                        save+BDB_IDL_UM_SIZE );