Skip ITS#6545 transition markers when we change mod op

This commit is contained in:
Ondřej Kuzník 2018-10-18 10:33:22 +01:00
parent 1e30640037
commit df83989f0f

View File

@ -1668,7 +1668,8 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
}
/* ITS#6545: when the same attribute is edited multiple times,
* record the transition */
if ( m->sml_next && m->sml_desc == m->sml_next->sml_desc ) {
if ( m->sml_next && m->sml_desc == m->sml_next->sml_desc &&
m->sml_op == m->sml_next->sml_op ) {
ber_str2bv( ":", STRLENOF(":"), 1, &vals[i] );
i++;
}