mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fixed index file naming bug and added support for LDAP_MOD_SOFTADD.
This commit is contained in:
parent
b2d40841d8
commit
5a16e3b9e9
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user