From: Kurt Zeilenga Date: Fri, 10 Dec 1999 18:07:24 +0000 (+0000) Subject: ITS#394: index presence bug fix X-Git-Tag: UCDATA_2_4~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=01ab716e8a6ed308f27d383d0a0afc341038d7c8;p=openldap ITS#394: index presence bug fix --- diff --git a/servers/slapd/back-bdb2/filterindex.c b/servers/slapd/back-bdb2/filterindex.c index a9f7452cf4..12d88d46c8 100644 --- a/servers/slapd/back-bdb2/filterindex.c +++ b/servers/slapd/back-bdb2/filterindex.c @@ -143,7 +143,7 @@ presence_candidates( Debug( LDAP_DEBUG_TRACE, "=> presence_candidates\n", 0, 0, 0 ); - idl = bdb2i_index_read( be, type, 0, "*" ); + idl = bdb2i_index_read( be, type, INDEX_PRESENCE, "*" ); Debug( LDAP_DEBUG_TRACE, "<= presence_candidates %ld\n", idl ? ID_BLOCK_NIDS(idl) : 0, 0, 0 ); diff --git a/servers/slapd/back-ldbm/filterindex.c b/servers/slapd/back-ldbm/filterindex.c index 81deb55a60..1cf5563a40 100644 --- a/servers/slapd/back-ldbm/filterindex.c +++ b/servers/slapd/back-ldbm/filterindex.c @@ -147,7 +147,7 @@ presence_candidates( Debug( LDAP_DEBUG_TRACE, "=> presence_candidates\n", 0, 0, 0 ); - idl = index_read( be, type, 0, "*" ); + idl = index_read( be, type, INDEX_PRESENCE, "*" ); Debug( LDAP_DEBUG_TRACE, "<= presence_candidates %ld\n", idl ? ID_BLOCK_NIDS(idl) : 0, 0, 0 );