Bug #45952 | DeriveParameters command throws a null reference exception | ||
---|---|---|---|
Submitted: | 5 Jul 2009 17:30 | Modified: | 8 Jul 2009 13:52 |
Reporter: | Eu Mesmo | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.0.4 | OS: | Windows (XP SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | DeriveParameters, null exception |
[5 Jul 2009 17:30]
Eu Mesmo
[6 Jul 2009 12:06]
Tonci Grgin
Hi Eu and thanks for your report. Can you please confirm a suspicion of mine. Install c/NET 5.2.7 and re-test, I suspect it will fail.
[6 Jul 2009 12:14]
Tonci Grgin
Also, please check https://docsrva.mysql.com/idocs/changelog.cgi?m=showchangelog&fromversion=6.0.6&toversion=... : Incompatible Change: A change has been made to the way that the server handles prepared statements. This affects prepared statements processed at the SQL level (using the PREPARE statement) and those processed using the binary client-server protocol (using the mysql_stmt_prepare() C API function). ...
[6 Jul 2009 12:56]
Eu Mesmo
Where do I can download 5.2.7 version of C/Net? I don't have access to https://docsrva.mysql.com/idocs
[7 Jul 2009 17:37]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/78160
[7 Jul 2009 17:37]
Reggie Burnett
fixed in 6.0.5
[8 Jul 2009 13:52]
Tony Bedford
An entry was added to the 6.0.5 changelog: In MySQL Connector/NET 6.0.4 using GetProcData generated an error because the parameters data table was only created if MySQL Server was at least version 6.0.6, or if the UseProcedureBodies connection string option was set to true. Also the DeriveParameters command generated a null reference exception. This was because the parameters data table, which was null, was used in a for each loop.