From 01ab716e8a6ed308f27d383d0a0afc341038d7c8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 10 Dec 1999 18:07:24 +0000 Subject: [PATCH] ITS#394: index presence bug fix --- servers/slapd/back-bdb2/filterindex.c | 2 +- servers/slapd/back-ldbm/filterindex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.5