mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
ITS#6469, don't touch op_attrs when updatedn is modifying contextCSN
This commit is contained in:
parent
376cdb1e92
commit
bca52e1b18
1 changed files with 7 additions and 1 deletions
|
|
@ -422,7 +422,13 @@ txnReturn:
|
|||
|
||||
ctrls[num_ctrls] = NULL;
|
||||
|
||||
slap_mods_opattrs( op, &op->orm_modlist, 1 );
|
||||
/* Don't touch the opattrs, if this is a contextCSN update
|
||||
* initiated from updatedn */
|
||||
if ( !be_isupdate(op) || !op->orm_modlist || op->orm_modlist->sml_next ||
|
||||
op->orm_modlist->sml_desc != slap_schema.si_ad_contextCSN ) {
|
||||
|
||||
slap_mods_opattrs( op, &op->orm_modlist, 1 );
|
||||
}
|
||||
|
||||
if( 0 ) {
|
||||
retry: /* transaction retry */
|
||||
|
|
|
|||
Loading…
Reference in a new issue