]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Import ITS#2506 fix from HEAD
authorHoward Chu <hyc@openldap.org>
Wed, 14 May 2003 22:04:55 +0000 (22:04 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 14 May 2003 22:04:55 +0000 (22:04 +0000)
servers/slapd/back-ldbm/filterindex.c

index c7e67925529759c841dd873dbad8b09ef5bc55fd..0b8ea28278d91564bc267fcdc8be7fad81b1e299 100644 (file)
@@ -51,8 +51,7 @@ filter_candidates(
                switch( f->f_result ) {
                case SLAPD_COMPARE_UNDEFINED:
                /* This technically is not the same as FALSE, but it
-                * certainly will produce no matches. list_candidates
-                * will take care of ignoring this filter.
+                * certainly will produce no matches.
                 */
                /* FALLTHRU */
                case LDAP_COMPARE_FALSE:
@@ -709,10 +708,6 @@ list_candidates(
 
        idl = NULL;
        for ( f = flist; f != NULL; f = f->f_next ) {
-               if ( f->f_choice == SLAPD_FILTER_COMPUTED &&
-                    f->f_result == SLAPD_COMPARE_UNDEFINED ) {
-                       continue;
-               }
                if ( (tmp = filter_candidates( be, f )) == NULL &&
                    ftype == LDAP_FILTER_AND ) {
 #ifdef NEW_LOGGING