* DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
hence, adding a row cache is necessary if the original row happens to be current.
fixed bug #63097
svn path=/trunk/mcs/; revision=34061
+2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
+ * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
+ hence, adding a row cache is necessary if the original row happens to be current.
+ fixed bug #63097
+
2004-08-23 Martin Baulig <martin@ximian.com>
* XmlDataInferenceLoader.cs (Driver): Make this class internal,
DataColumn column = _table.Columns[columnName];
_table.ChangingDataColumn (this, column, val);
- if (_original < 0) {
+ if (_original < 0 || _original == _current) {
+ // This really creates a new record version if one does not exist
_original = Table.RecordCache.NewRecord();
}
CheckValue (val, column);