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

This commit is contained in:
Jan Synacek 2012-08-21 14:39:10 +02:00 committed by Howard Chu
parent 9d5af71214
commit 057949785f

View 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 )