From: Howard Chu Date: Thu, 11 Aug 2016 16:27:35 +0000 (+0100) Subject: More for ITS#8460 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=589331ea7558678fcafbdc8fcabdc6cc348c46d0;p=openldap More for ITS#8460 accesslog can alter the timestamp on contextCSN updates --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 900bdcd46d..64e174f4c6 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1959,6 +1959,10 @@ accesslog_op_mod( Operation *op, SlapReply *rs ) return SLAP_CB_CONTINUE; /* give this a unique timestamp */ op->o_tincr++; + if ( op->o_tincr >= 1000000 ) { + op->o_tincr -= 1000000; + op->o_time++; + } } logop = accesslog_op2logop( op );