mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
fix previous commit
This commit is contained in:
parent
ce045e153f
commit
15236be495
1 changed files with 4 additions and 4 deletions
|
|
@ -287,11 +287,11 @@ int bdb_modify_internal(
|
|||
rc = bdb_index_values( op, tid, ap->a_desc,
|
||||
vals, e->e_id, SLAP_INDEX_DELETE_OP );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
attrs_free( e->e_attrs );
|
||||
e->e_attrs = save_attrs;
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"%s: attribute \"%s\" index delete failure\n",
|
||||
op->o_log_prefix, ap->a_desc->ad_cname.bv_val, 0 );
|
||||
attrs_free( e->e_attrs );
|
||||
e->e_attrs = save_attrs;
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
|
@ -306,11 +306,11 @@ int bdb_modify_internal(
|
|||
ap->a_nvals,
|
||||
e->e_id, SLAP_INDEX_ADD_OP );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
attrs_free( e->e_attrs );
|
||||
e->e_attrs = save_attrs;
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"%s: attribute \"%s\" index add failure\n",
|
||||
op->o_log_prefix, ap->a_desc->ad_cname.bv_val, 0 );
|
||||
attrs_free( e->e_attrs );
|
||||
e->e_attrs = save_attrs;
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue