From: Howard Chu Date: Fri, 10 Jun 2011 08:44:30 +0000 (-0700) Subject: ITS#6892 shortcut for non-replicated ops X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~1340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=329e7937e69d52809431273152d7a19039283f66;p=thirdparty%2Fopenldap.git ITS#6892 shortcut for non-replicated ops --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index a058e19423..6f109232f9 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2048,6 +2048,9 @@ syncprov_op_mod( Operation *op, SlapReply *rs ) opc->rsid = scook->sid; } + if ( op->o_dont_replicate ) + return SLAP_CB_CONTINUE; + /* If there are active persistent searches, lock this operation. * See seqmod.c for the locking logic on its own. */