[3/5] msi: Compare keys only in compare_record.

Hans Leidekker hans at codeweavers.com
Mon Mar 7 05:40:06 CST 2011


---
 dlls/msi/table.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index cdbdd58..bc05987 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -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;
-- 
1.7.1







More information about the wine-patches mailing list