From: Juan Gomez Date: Wed, 26 May 1999 11:41:14 +0000 (+0000) Subject: Fixed index file naming bug and added support for LDAP_MOD_SOFTADD. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~544 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a16e3b9e9c9176062e9d71b6d393daa81fa8097;p=openldap Fixed index file naming bug and added support for LDAP_MOD_SOFTADD. --- diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index b16ddddd0e..d6b5faa306 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -70,7 +70,7 @@ index_add_mods( rc = index_add_values( be, mod->mod_type, mod->mod_bvalues, id ); break; - + case LDAP_MOD_SOFTADD: /* SOFTADD means index was there */ case LDAP_MOD_DELETE: rc = 0; break; @@ -230,7 +230,7 @@ index_add_values( Debug( LDAP_DEBUG_TRACE, "=> index_add_values( \"%s\", %ld )\n", type, id, 0 ); - + attr_normalize(type); attr_masks( be->be_private, type, &indexmask, &syntax ); if ( indexmask == 0 ) { return( 0 );