[Mono-bugs] [Bug 75698][Maj] Changed - ExecuteNonQuery always return the value -1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 9 10:50:54 EDT 2005

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 tsureshkumar at novell.com.


--- shadow/75698	2005-08-09 10:47:57.000000000 -0400
+++ shadow/75698.tmp.16649	2005-08-09 10:50:54.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 75698
 Product: Mono: Class Libraries
 Version: 1.1
 OS: other
 OS Details: Windows2003 and Red Hat Linux AS 3
-Status: NEW   
+Status: NEEDINFO   
 Severity: Unknown
 Priority: Major
 Component: Sys.Data.SqlClient
 AssignedTo: tsureshkumar at novell.com                            
 ReportedBy: lovelydavid at hotmail.com               
@@ -16,6 +16,17 @@
 Summary: ExecuteNonQuery always return the value -1
 As U know,in MS .Net,the SqlCommand Function ExecuteNonQuery return the 
 affected lines,if nothing happened,it then will return the value -1
 But in mono,no matter what happened,it always return the value -1.
+------- Additional Comments From tsureshkumar at novell.com  2005-08-09 10:50 -------
+without have a solid failure case, it is impossible to fix the problem.  
+With the statements you have given, I'm not able to reproduce the
+post atleast a sample table data, and the query which did not return
+the  rows affected. additionally, if possible, a small test code.

More information about the mono-bugs mailing list