Author: atsushi
Date: 2005-03-16 09:33:07 -0500 (Wed, 16 Mar 2005)
New Revision: 41903
Modified:
trunk/mcs/class/System.Data/System.Data/ChangeLog
trunk/mcs/class/System.Data/System.Data/DataRow.cs
Log:
2005-03-16 Atsushi Enomoto <[EMAIL PROTECTED]>
* DataRow.cs : on importing row, it was copying data from incorrect
DataRow. This fixes bug #73288.
Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-03-16 14:10:35 UTC
(rev 41902)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-03-16 14:33:07 UTC
(rev 41903)
@@ -1,3 +1,8 @@
+2005-03-16 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * DataRow.cs : on importing row, it was copying data from incorrect
+ DataRow. This fixes bug #73288.
+
2005-03-07 Jackson Harper <[EMAIL PROTECTED]>
* DataViewManagerListItemTypeDescriptor.cs: Implement missing
Modified: trunk/mcs/class/System.Data/System.Data/DataRow.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/DataRow.cs 2005-03-16 14:10:35 UTC
(rev 41902)
+++ trunk/mcs/class/System.Data/System.Data/DataRow.cs 2005-03-16 14:33:07 UTC
(rev 41903)
@@ -1368,8 +1368,8 @@
}
//Saving the current value as the
column value
- row [index] = targetColumn
[IndexFromVersion (DataRowVersion.Default)];
-
+ object defaultVal = column
[IndexFromVersion (DataRowVersion.Default)];
+ row [index] = defaultVal;
}
}
CopyState(row);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches