]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, extended search was broken
authorHoward Chu <hyc@openldap.org>
Fri, 18 Apr 2003 05:53:24 +0000 (05:53 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 18 Apr 2003 05:53:24 +0000 (05:53 +0000)
servers/slapd/back-bdb/filterindex.c

index bab0fbadf153a43af233237983ba4e474b28a2c3..3583831b2b0e24162356a9723622b728ef085b05 100644 (file)
@@ -178,6 +178,10 @@ bdb_filter_candidates(
                Debug( LDAP_DEBUG_FILTER, "\tUNKNOWN %lu\n",
                        (unsigned long) f->f_choice, 0, 0 );
 #endif
+               /* Must not return NULL, otherwise extended filters break */
+               { struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
+               BDB_IDL_ALL( bdb, ids );
+               }
        }
 
 #ifdef NEW_LOGGING