Bug #8667 | OUT parameters are not being valued | ||
---|---|---|---|
Submitted: | 22 Feb 2005 3:00 | Modified: | 23 Feb 2005 14:47 |
Reporter: | Steven Toth | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.4 | OS: | Windows (Windows XP Pro) |
Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[22 Feb 2005 3:00]
Steven Toth
[22 Feb 2005 3:01]
Steven Toth
VB .NET sample to call SP described in Bug report.
Attachment: TestOutParam.zip (application/x-zip-compressed, text), 7.52 KiB.
[23 Feb 2005 14:47]
Reggie Burnett
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Steven I fixed a problem with the code however you also had a problem in your sample code. You are trying to retrieve the value of the out parameter before the reader is closed. In this case you should be using ExecuteNonQuery to run the SQL. However, you can use ExecuteReader but you need to close the reader before accessing the out parameters.