[Mono-bugs] [Bug 72874][Nor] Changed - DataSet.Merge returns empty result
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Mar 2005 00:40:28 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by atsushi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=72874
--- shadow/72874 2005-03-04 00:32:15.000000000 -0500
+++ shadow/72874.tmp.2855 2005-03-04 00:40:28.000000000 -0500
@@ -86,6 +86,35 @@
It it is still not understandable, run
mono yourexample.exe > result.txt
and attach the "result.txt" generated there.
+
+------- Additional Comments From atsushi@ximian.com 2005-03-04 00:40 -------
+Here is the example Merge() code which perfectly runs in my box. I
+have svn HEAD installed, so there might be a bug in 1.1.4 but then it
+means this had been already fixed in svn.
+
+using System;
+using System.Data;
+
+public class Test
+{
+ public static void Main ()
+ {
+ DataSet ds = new DataSet ();
+ DataTable dt = new DataTable ();
+ dt.Columns.Add ("col1");
+ dt.Columns.Add ("col2");
+ dt.Columns.Add ("col3");
+ dt.Rows.Add (new object []{1,2,3});
+ dt.Rows.Add (new object []{1,2,3});
+ dt.Rows.Add (new object []{1,2,3});
+ ds.Tables.Add (dt);
+ DataSet ads = new DataSet ();
+ ads.Merge (ds);
+ Console.WriteLine (ads.Tables [0].Rows.Count);
+ }
+}
+
+If no information updates in a week, I will close this bug as INVALID.