From: Howard Chu Date: Thu, 6 Jan 2011 22:37:23 +0000 (+0000) Subject: ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases X-Git-Tag: MIGRATION_CVS2GIT~227 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4523d3142503f8a2516e5f33cfabd9e93c31c55;p=openldap ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 586d09bd70..5bc7679f5a 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1930,7 +1930,7 @@ syncprov_op_response( Operation *op, SlapReply *rs ) } /* Add any log records */ - if ( si->si_logs && op->o_tag != LDAP_REQ_ADD ) { + if ( si->si_logs ) { syncprov_add_slog( op ); } leave: ldap_pvt_thread_mutex_unlock( &si->si_resp_mutex );