From: Howard Chu Date: Mon, 28 Nov 2005 05:27:42 +0000 (+0000) Subject: More for prev commit - set entryCSN as well. X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1360f9fa804600f1a3db1df00a43fb0577e65260;p=openldap More for prev commit - set entryCSN as well. --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index e802492e8f..5ce4356aa6 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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;