From 7caf3e0952de19b84c783356eaeda3a076b79752 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 18 Apr 2003 05:53:24 +0000 Subject: [PATCH] Fix prev commit, extended search was broken --- servers/slapd/back-bdb/filterindex.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5