msi: Compare keys only in compare_record.

This commit is contained in:
Hans Leidekker 2011-03-07 12:40:06 +01:00 committed by Alexandre Julliard
parent 3878c451ca
commit 659db6e902
1 changed files with 2 additions and 0 deletions

View File

@ -1630,6 +1630,8 @@ static int compare_record( MSITABLEVIEW *tv, UINT row, MSIRECORD *rec )
for (i = 0; i < tv->num_cols; i++ )
{
if (!(tv->columns[i].type & MSITYPE_KEY)) continue;
r = get_table_value_from_record( tv, rec, i + 1, &ivalue );
if (r != ERROR_SUCCESS)
return 1;