Bug #54490 Bad column retreive when using the getDouble function
Submitted: 14 Jun 2010 16:02 Modified: 23 Apr 2014 9:45
Reporter: Romain Monti Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / C++ Severity:S1 (Critical)
Version:1.0.5 OS:Windows (XP SP2)
Assigned to: CPU Architecture:Any

[14 Jun 2010 16:02] Romain Monti
Description:
I'm using the getDouble function member of the ResultSet class to retreive procedure's result.

This procedure returning a joint of 2 tables.
In this result 3 columns are double type, named PAS_LIGNE, PAS_COLONNE and DIAM_EXT.

When i'm trying to retreive the PAS_LIGNE result, the getDouble returning the PAS_COLONNE value.

I have check the procedure call with the MySql Monitor.

How to repeat:
Using 2 table with double.
Creating a procedure with the result as a join of the 2 tables.
Trying to retreive the result value with the C++ connector

Suggested fix:
N/A
[15 Jun 2010 14:21] Sveta Smirnova
Thank you for the report.

Please provide output of SHOW CREATE TABLE for all underlying tables.
[15 Jul 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[23 Apr 2014 9:45] Bogdan Degtyariov
Posted by developer:
 
Cannot repeat
[23 Apr 2014 10:17] Bogdan Degtyariov
Posted by developer:
 
Cannot repeat with Connector/C++ v 1.1.3.
Please reopen the bug if the problem still happens for you.