[Mono-bugs] [Bug 62046][Cri] Changed - OdbcCommand::ExecuteNonQuery always returns 0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Jul 2004 03:09:40 -0400 (EDT)
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 sumadevi@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62046
--- shadow/62046 2004-07-28 23:31:01.000000000 -0400
+++ shadow/62046.tmp.25689 2004-07-29 03:09:40.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 62046
Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details: Fedora Core 2
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Critical
Component: Sys.Data
AssignedTo: sumadevi@novell.com
ReportedBy: accounts@sandmik.net
QAContact: mono-bugs@ximian.com
@@ -21,6 +21,10 @@
The Source code of
public int ExecuteNonQuery ()
in OdbcCommand.cs shows that it always returns 0!
ExecuteNonQuery should return the number of records affected.
+
+------- Additional Comments From sumadevi@novell.com 2004-07-29 03:09 -------
+ExecuteNonQuery will return appropriate values based on the command type.
+Fix is checked into cvs mono-1-0 and HEAD