[Mono-bugs] [Bug 57676][Nor] New - The Mono.Data.SybaseClient library does not pass parameters to stored procedure

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 26 Apr 2004 15:35:59 -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 aribak@online.no.

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

--- shadow/57676	2004-04-26 15:35:59.000000000 -0400
+++ shadow/57676.tmp.3589	2004-04-26 15:35:59.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 57676
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: aribak@online.no               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: The Mono.Data.SybaseClient library does not pass parameters to stored procedure
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+The Mono.Data.SybaseClient library does not pass along parameters to 
+stored procedures.
+
+Steps to reproduce the problem:
+1. On a Sybase ASE server create a stored procedure that requires 
+arguments.
+2. Write code that uses the Mono.Data.SybaseClient.SybaseCommand object to 
+execute the procedure with a parameter.
+
+
+Actual Results:
+Throws an error indicating that the stored procedure's parameter is 
+missing.
+
+Expected Results:
+No error, and successfull execution of procedure.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+The error probably lies in the Tds50 class which does not override the 
+ExecProc method. Some cut'n'paste from the Tds70 class fixes the problem.