]> git.sur5r.net Git - openldap/commitdiff
More for prev commit - set entryCSN as well.
authorHoward Chu <hyc@openldap.org>
Mon, 28 Nov 2005 05:27:42 +0000 (05:27 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 28 Nov 2005 05:27:42 +0000 (05:27 +0000)
servers/slapd/overlays/accesslog.c

index e802492e8f2c8204a0383fbfb3e4c44f68d09f9f..5ce4356aa6496bbf952109a7d5a42b818407e2ac 100644 (file)
@@ -1280,8 +1280,10 @@ accesslog_db_open(
                        Attribute *a;
 
                        a = attr_find( e_ctx->e_attrs, slap_schema.si_ad_contextCSN );
-                       if ( a )
+                       if ( a ) {
+                               attr_merge( e, slap_schema.si_ad_entryCSN, a->a_vals, NULL );
                                attr_merge( e, a->a_desc, a->a_vals, NULL );
+                       }
                        be_entry_release_rw( op, e_ctx, 0 );
                }
                op->o_bd->bd_info = (BackendInfo *)on;