From c0e6911deabed72ff743643b84423cc9634d93d6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 10 Dec 1999 18:07:59 +0000 Subject: [PATCH] ITS#374: index presence filter bug fix. --- CHANGES | 4 +--- servers/slapd/back-ldbm/filterindex.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index fad944f3c4..83d53b673c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,8 +1,5 @@ OpenLDAP Change Log -Changes included in OpenLDAP 1.2.9 Engineering - CVS Tag: OPENLDAP_REL_ENG_1_2 - Changes included in OpenLDAP 1.2.8 CVS Tag: OPENLDAP_REL_ENG_1_2_8 Fixed slapd lint @@ -12,6 +9,7 @@ Changes included in OpenLDAP 1.2.8 Fixed lber/io.c Cray T90 specific pointer arithmetic problem (ITS#325) Fixed s_addr dereferencing (ITS#340) Fixed ud strstr crash (ITS#328) + Fixed back-ldbm presence index bug (ITS#394) Fixed -lthread rdwr 2-writer bug (ITS#395) Added TCP_NODELAY support Changed slapd to apply ACL to lastmod attributes diff --git a/servers/slapd/back-ldbm/filterindex.c b/servers/slapd/back-ldbm/filterindex.c index 2b304d104a..f4b1dde42a 100644 --- a/servers/slapd/back-ldbm/filterindex.c +++ b/servers/slapd/back-ldbm/filterindex.c @@ -132,7 +132,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 %lu\n", idl ? ID_BLOCK_NIDS(idl) : 0, 0, 0 ); -- 2.39.2