]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/constraint.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / overlays / constraint.c
index c3f9d66abf7771132c63790135786b8aa4937f22..2d943a223f73b0e272a3b96666f42d5e11065f28 100644 (file)
@@ -845,6 +845,9 @@ constraint_check_count_violation( Modifications *m, Entry *target_entry, constra
        unsigned ca;
        int j;
 
+       if ( cp->set )
+               return 0;
+
        for ( j = 0; cp->ap[j]; j++ ) {
                /* Get this attribute count */
                if ( target_entry )