From: Kurt Zeilenga Date: Fri, 17 Mar 2000 18:31:40 +0000 (+0000) Subject: Need SOFTADD fix for previous fix X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e5c381d3a1efd56f7e306286158a13c9362903f;p=openldap Need SOFTADD fix for previous fix --- diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index 28cdb92ee1..4da7301032 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -79,14 +79,9 @@ int ldbm_modify_internal( mod->mod_op = LDAP_MOD_ADD; #endif err = add_values( e, mod, op->o_ndn ); + if ( err == LDAP_TYPE_OR_VALUE_EXISTS ) { err = LDAP_SUCCESS; -#ifdef SLAPD_SCHEMA_NOT_COMPAT - mod->sm_op = SLAP_MOD_SOFTADD; -#else - mod->mod_op = SLAP_MOD_SOFTADD; -#endif - } break; }