]> git.sur5r.net Git - openldap/commitdiff
ITS#6892 shortcut for non-replicated ops
authorHoward Chu <hyc@openldap.org>
Fri, 10 Jun 2011 08:44:30 +0000 (01:44 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 10 Jun 2011 08:44:30 +0000 (01:44 -0700)
servers/slapd/overlays/syncprov.c

index a058e194237cad7a34b146c8c3b0836991066208..6f109232f930bebfc644eff0bd59fd2f295475e4 100644 (file)
@@ -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.
         */