* DataSet.cs : Loop-break of the last fix was incorrect.
svn path=/trunk/mcs/; revision=28585
+2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
+
+ * DataSet.cs : Loop-break of the last fix was incorrect.
+
2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : When a row has no parent row but the table has parent
continue;
break;
case 2:
+ bool skip = false;
for (int i = 0; i < table.ParentRelations.Count; i++)
- if (row.GetParentRow (table.ParentRelations [i]) != null)
+ if (row.GetParentRow (table.ParentRelations [i]) != null) {
+ skip = true;
continue;
+ }
+ if (skip)
+ continue;
break;
}