]> git.sur5r.net Git - openldap/commitdiff
ITS#394: index presence bug fix
authorKurt Zeilenga <kurt@openldap.org>
Fri, 10 Dec 1999 18:07:24 +0000 (18:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 10 Dec 1999 18:07:24 +0000 (18:07 +0000)
servers/slapd/back-bdb2/filterindex.c
servers/slapd/back-ldbm/filterindex.c

index a9f7452cf430efe0f47e3e3140d3a38ab1f21709..12d88d46c8f84a1508ed63779105be272217e9ea 100644 (file)
@@ -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 );
index 81deb55a608c602e271bed5abdc77ba2f132f703..1cf5563a4014e7a38cbb395726e84fd287afafc9 100644 (file)
@@ -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 );