mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#7340 Fix handling of sets when checking for count constraint
This commit is contained in:
parent
9d5af71214
commit
057949785f
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user