mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
Add CSN management
This commit is contained in:
parent
f1ffe0076f
commit
5e1ab5aba3
1 changed files with 7 additions and 0 deletions
|
|
@ -969,7 +969,14 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
|
|||
op2.ora_e = e;
|
||||
op2.o_callback = &nullsc;
|
||||
|
||||
if ( lo->mask & LOG_OP_WRITES ) {
|
||||
slap_get_commit_csn( op, NULL, &bv );
|
||||
attr_merge_one( e, slap_schema.si_ad_entryCSN, &bv, NULL );
|
||||
slap_queue_csn( &op2, &bv );
|
||||
}
|
||||
|
||||
op2.o_bd->be_add( &op2, &rs2 );
|
||||
slap_graduate_commit_csn( &op2 );
|
||||
entry_free( e );
|
||||
|
||||
return SLAP_CB_CONTINUE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue