err = add_values( e, mod, op->o_ndn );
if( err != LDAP_SUCCESS ) {
+ *text = "modify: add values failed";
Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: %d %s\n",
err, *text, 0);
- *text = "modify: add values failed";
}
break;
err = delete_values( e, mod, op->o_ndn );
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
if( err != LDAP_SUCCESS ) {
+ *text = "modify: delete values failed";
Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: %d %s\n",
err, *text, 0);
- *text = "modify: delete values failed";
}
break;
err = replace_values( e, mod, op->o_ndn );
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
if( err != LDAP_SUCCESS ) {
+ *text = "modify: replace values failed";
Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: %d %s\n",
err, *text, 0);
- *text = "modify: replace values failed";
}
break;
}
if( err != LDAP_SUCCESS ) {
+ *text = "modify: (soft)add values failed";
Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: %d %s\n",
err, *text, 0);
- *text = "modify: (soft)add values failed";
}
break;