]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 14 Jun 2011 21:32:53 +0000 (14:32 -0700)
servers/slapd/overlays/syncprov.c

index 56b80564825d525ca814afc80bafeda92bd35f9d..c06391a98fa7025df8a68903493c388fa4156c50 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.
         */