Skip to content
Snippets Groups Projects
Commit d20f3ffb authored by Jan Synacek's avatar Jan Synacek Committed by Quanah Gibson-Mount
Browse files

ITS#7340 Fix handling of sets when checking for count constraint

parent a601bce2
No related branches found
No related tags found
No related merge requests found
...@@ -845,6 +845,9 @@ constraint_check_count_violation( Modifications *m, Entry *target_entry, constra ...@@ -845,6 +845,9 @@ constraint_check_count_violation( Modifications *m, Entry *target_entry, constra
unsigned ca; unsigned ca;
int j; int j;
if ( cp->set )
return 0;
for ( j = 0; cp->ap[j]; j++ ) { for ( j = 0; cp->ap[j]; j++ ) {
/* Get this attribute count */ /* Get this attribute count */
if ( target_entry ) if ( target_entry )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment