If the change set becomes empty, prevent other overlays from executing and

return a success.
This commit is contained in:
Emmanuel Dreyfus 2009-03-16 22:05:47 +00:00
parent 1d53acce70
commit b697550ddc

View File

@ -136,8 +136,13 @@ nops_modify( Operation *op, SlapReply *rs )
}
if ((m = op->orm_modlist) == NULL) {
slap_callback *cb = op->o_callback;
op->o_bd->bd_info = (BackendInfo *)(on->on_info);
send_ldap_error(op, rs, LDAP_SUCCESS, "");
op->o_callback = NULL;
send_ldap_error(op, rs, LDAP_SUCCESS, "");
op->o_callback = cb;
return (rs->sr_err);
}