[Mono-bugs] [Bug 68973][Blo] Changed - ExecuteNonQuery() returns wrong RowsAffected

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 14 Dec 2004 04:44:14 -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 ph_knecht@yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=68973

--- shadow/68973	2004-12-14 04:30:23.000000000 -0500
+++ shadow/68973.tmp.22569	2004-12-14 04:44:14.000000000 -0500
@@ -146,6 +146,22 @@
 Created an attachment (id=13492)
 console output of the sample on my machine with mono 1.1.2
 
 
 ------- Additional Comments From ph_knecht@yahoo.com  2004-12-14 04:30 -------
 it' s start to bugging me any news?
+
+------- Additional Comments From ph_knecht@yahoo.com  2004-12-14 04:44 -------
+Heyho seems that i've found the bug.
+
+Seems that MS.NET resets the counter when issuing cmd.ExecuteNonQuery()
+And thats the correct behaviour.
+
+With mono i've got to:
+			
+cmd.Dispose();
+cmd=cn.CreateCommand(); 
+
+to "reset" it...
+
+
+Now fix it! ;-)