]> git.sur5r.net Git - openldap/commitdiff
Fixing bug in extensible filter indexing
authorSang Seok Lim <slim@openldap.org>
Wed, 22 Dec 2004 01:23:27 +0000 (01:23 +0000)
committerSang Seok Lim <slim@openldap.org>
Wed, 22 Dec 2004 01:23:27 +0000 (01:23 +0000)
servers/slapd/back-bdb/filterindex.c

index 11ec7d16500426f235e632575caddec9ca2389ca..64514cc86237ce678ce10294cf9f2b129d565074 100644 (file)
@@ -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