From e3ab329d4eb10cfb607c35e633fb3c84a6b825da Mon Sep 17 00:00:00 2001 From: Sang Seok Lim Date: Wed, 22 Dec 2004 01:23:27 +0000 Subject: [PATCH] Fixing bug in extensible filter indexing --- servers/slapd/back-bdb/filterindex.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5