if ( lo->mask & LOG_OP_WRITES ) {
slap_callback *cb;
+
+ /* These internal ops are not logged */
+ if ( op->o_dont_replicate && op->orm_no_opattrs )
+ return SLAP_CB_CONTINUE;
+
ldap_pvt_thread_mutex_lock( &li->li_log_mutex );
old = li->li_old;
li->li_old = NULL;
}
}
ldap_pvt_thread_rmutex_unlock( &li->li_op_rmutex, op->o_tid );
- if ( op->o_dont_replicate && op->orm_no_opattrs )
- goto done;
}
if ( li->li_success && rs->sr_err != LDAP_SUCCESS )
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
log_info *li = on->on_bi.bi_private;
+ /* These internal ops are not logged */
+ if ( op->o_dont_replicate && op->orm_no_opattrs )
+ return SLAP_CB_CONTINUE;
+
if ( li->li_ops & LOG_OP_WRITES ) {
slap_callback *cb = op->o_tmpalloc( sizeof( slap_callback ), op->o_tmpmemctx ), *cb2;
cb->sc_cleanup = accesslog_mod_cleanup;