]> git.sur5r.net Git - openldap/commitdiff
ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases
authorHoward Chu <hyc@openldap.org>
Thu, 6 Jan 2011 22:37:23 +0000 (22:37 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 6 Jan 2011 22:37:23 +0000 (22:37 +0000)
servers/slapd/overlays/syncprov.c

index 586d09bd70ea12f4f22a00cf2f9f7f55bf4395e2..5bc7679f5a73114a7ee5d4d220c2fe6a35810c4e 100644 (file)
@@ -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 );