to be the original row. fixed bug #63097
svn path=/branches/mono-1-0/mcs/; revision=34169
+2004-09-21 Sureshkumar T <tsureshkumar@novell.com>
+
+ * DataRow.cs: Added a new original row cache, if the current row happens
+ to be the original row. fixed bug #63097
+
2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
DataColumn column = _table.Columns[columnName];
_table.ChangingDataColumn (this, column, val);
- if (_original < 0) {
+ if (_original < 0 || _original == _current) {
+ // really add a row cache, if _original is not there &
+ // make row modified
_original = Table.RecordCache.NewRecord();
}
CheckValue (val, column);