mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#6915 fix op timestamps
This has always been broken since memberof was first written
This commit is contained in:
parent
7a66c84783
commit
81687b321c
@ -406,6 +406,7 @@ memberof_value_modify(
|
||||
LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next);
|
||||
BER_BVZERO( &op2.o_csn );
|
||||
op2.o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||
slap_op_time( &op2.o_time, &op2.o_tincr );
|
||||
(void)op->o_bd->be_modify( &op2, &rs2 );
|
||||
op2.o_bd->bd_info = bi;
|
||||
LDAP_SLIST_REMOVE(&op2.o_extra, &oex, OpExtra, oe_next);
|
||||
@ -449,6 +450,7 @@ memberof_value_modify(
|
||||
LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next);
|
||||
BER_BVZERO( &op2.o_csn );
|
||||
op2.o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||
slap_op_time( &op2.o_time, &op2.o_tincr );
|
||||
(void)op->o_bd->be_modify( &op2, &rs2 );
|
||||
op2.o_bd->bd_info = bi;
|
||||
LDAP_SLIST_REMOVE(&op2.o_extra, &oex, OpExtra, oe_next);
|
||||
|
Loading…
Reference in New Issue
Block a user