From: Howard Chu Date: Fri, 18 Apr 2003 05:53:24 +0000 (+0000) Subject: Fix prev commit, extended search was broken X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~320 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7caf3e0952de19b84c783356eaeda3a076b79752;p=openldap Fix prev commit, extended search was broken --- diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index bab0fbadf1..3583831b2b 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -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