]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9361 prevent CSN from being generated for purge deletes
authorHoward Chu <hyc@openldap.org>
Fri, 2 Oct 2020 12:25:52 +0000 (13:25 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 2 Oct 2020 12:25:52 +0000 (13:25 +0100)
servers/slapd/overlays/accesslog.c

index 1d5577f8fee6c734ae05949cc242a64a993cb93f..4c0154c8545408db95477171ec3e38c4a613739b 100644 (file)
@@ -716,6 +716,7 @@ accesslog_purge( void *ctx, void *arg )
 
                op->o_callback = &nullsc;
                op->o_dont_replicate = 1;
+               op->o_csn = slap_empty_bv;
 
                if ( pd.mincsn_updated ) {
                        Modifications mod;