From: Sang Seok Lim Date: Wed, 22 Dec 2004 01:23:27 +0000 (+0000) Subject: Fixing bug in extensible filter indexing X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3ab329d4eb10cfb607c35e633fb3c84a6b825da;p=openldap Fixing bug in extensible filter indexing --- diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index 11ec7d1650..64514cc862 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -420,8 +420,12 @@ ext_candidates( * Currently Only Component Indexing for componentFilterMatch is supported * Indexing for an extensible filter is not supported yet */ - if ( !mra->ma_cf ) + if ( !mra->ma_cf ) { + struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private; + BDB_IDL_ALL( bdb, ids ); return 0; + } + return comp_candidates ( op, mra, mra->ma_cf, ids, tmp, stack); } #endif