mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
more ITS#4973 initialization
This commit is contained in:
parent
43367e162e
commit
74ca4680db
3 changed files with 6 additions and 1 deletions
|
|
@ -95,6 +95,8 @@ do_modify(
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
op->orm_no_opattrs = 0;
|
||||
|
||||
rs->sr_err = slap_mods_check( op, op->orm_modlist,
|
||||
&rs->sr_text, textbuf, textlen, NULL );
|
||||
|
||||
|
|
|
|||
|
|
@ -1284,7 +1284,7 @@ syncprov_op_cleanup( Operation *op, SlapReply *rs )
|
|||
static void
|
||||
syncprov_checkpoint( Operation *op, SlapReply *rs, slap_overinst *on )
|
||||
{
|
||||
syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
|
||||
syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
|
||||
Modifications mod;
|
||||
Operation opm;
|
||||
SlapReply rsm = { 0 };
|
||||
|
|
@ -1312,6 +1312,7 @@ syncprov_checkpoint( Operation *op, SlapReply *rs, slap_overinst *on )
|
|||
if ( mod.sml_next != NULL ) {
|
||||
slap_mods_free( mod.sml_next, 1 );
|
||||
}
|
||||
opm.orm_no_opattrs = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -2134,6 +2134,7 @@ retry_add:;
|
|||
|
||||
rc = op->o_bd->be_modify( op, &rs_modify );
|
||||
slap_mods_free( op->orm_modlist, 1 );
|
||||
op->orm_no_opattrs = 0;
|
||||
Debug( LDAP_DEBUG_SYNC,
|
||||
"syncrepl_entry: %s be_modify (%d)\n",
|
||||
si->si_ridtxt, rc, 0 );
|
||||
|
|
@ -2606,6 +2607,7 @@ syncrepl_updateCookie(
|
|||
|
||||
op->orm_no_opattrs = 1;
|
||||
rc = op->o_bd->be_modify( op, &rs_modify );
|
||||
op->orm_no_opattrs = 0;
|
||||
op->o_msgid = 0;
|
||||
|
||||
if ( rs_modify.sr_err == LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue