Continue when a duplicate component is found and loaded.

This commit is contained in:
Aric Stewart 2004-12-27 19:09:16 +00:00 committed by Alexandre Julliard
parent fbdd70968d
commit ea32fb93a1
1 changed files with 2 additions and 0 deletions

View File

@ -1943,6 +1943,7 @@ static void load_feature(MSIPACKAGE* package, MSIRECORD * row)
c_indx); c_indx);
package->features[index].Components[cnt] = c_indx; package->features[index].Components[cnt] = c_indx;
package->features[index].ComponentCount ++; package->features[index].ComponentCount ++;
continue;
} }
rc = ACTION_OpenQuery(package->db, &view2, Query2, buffer); rc = ACTION_OpenQuery(package->db, &view2, Query2, buffer);
@ -1971,6 +1972,7 @@ static void load_feature(MSIPACKAGE* package, MSIRECORD * row)
package->features[index].Components[cnt] = c_indx; package->features[index].Components[cnt] = c_indx;
package->features[index].ComponentCount ++; package->features[index].ComponentCount ++;
TRACE("Loaded new component to index %i\n",c_indx);
} }
MSI_ViewClose(view2); MSI_ViewClose(view2);
msiobj_release( &view2->hdr ); msiobj_release( &view2->hdr );