mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-07-11 10:05:39 -04:00
ITS#10535 syncprov: Let syncprov_play_accesslog handle !changed && dirty
This commit is contained in:
parent
fb3fa29add
commit
4e8fd50492
1 changed files with 9 additions and 0 deletions
|
|
@ -2376,6 +2376,15 @@ syncprov_play_accesslog( Operation *op, SlapReply *rs, sync_control *srs,
|
|||
newestcsn = ctxcsn[i];
|
||||
}
|
||||
}
|
||||
|
||||
if ( BER_BVISNULL( &oldestcsn ) ) {
|
||||
/*
|
||||
* ITS#10535 If ctxcsn covers srs->sr_state.ctxcsn, then they are equal
|
||||
* and oldestcsn/newestcsn are not set. Also we have nothing to send
|
||||
* either, just skip
|
||||
*/
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
assert( !BER_BVISEMPTY( &oldestcsn ) && !BER_BVISEMPTY( &newestcsn ) &&
|
||||
ber_bvcmp( &oldestcsn, &newestcsn ) < 0 );
|
||||
slap_sl_free( minsids, op->o_tmpmemctx );
|
||||
|
|
|
|||
Loading…
Reference in a new issue