mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
move slap_graduate_commit_csn() to after entry lock is released
This commit is contained in:
parent
21bac1cbed
commit
f12290c64f
1 changed files with 2 additions and 2 deletions
|
|
@ -513,7 +513,6 @@ retry: /* transaction retry */
|
|||
return_results:
|
||||
success = rs->sr_err;
|
||||
send_ldap_result( op, rs );
|
||||
slap_graduate_commit_csn( op );
|
||||
|
||||
if( ltid != NULL ) {
|
||||
TXN_ABORT( ltid );
|
||||
|
|
@ -538,10 +537,11 @@ return_results:
|
|||
}
|
||||
}
|
||||
|
||||
slap_graduate_commit_csn( op );
|
||||
|
||||
if( postread_ctrl != NULL && (*postread_ctrl) != NULL ) {
|
||||
slap_sl_free( (*postread_ctrl)->ldctl_value.bv_val, op->o_tmpmemctx );
|
||||
slap_sl_free( *postread_ctrl, op->o_tmpmemctx );
|
||||
}
|
||||
|
||||
return rs->sr_err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue