Bug #41162 Support column meta-data before query execution with parameters
Submitted: 1 Dec 2008 21:54 Modified: 28 Mar 2017 3:25
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:3.51,5.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[1 Dec 2008 21:54] Jess Balint
Description:
The driver tries to eagerly execute a query to retrieve result meta-data, but cannot do so if the query contains parameters. To solve this, we should either use SSPS (server side prepared statements) to get the result meta-data or support executing queries using SSPS.

How to repeat:
Call SQLDescribeCol() between SQLPrepare() and SQLExecute() on a query without all parameters bound.
[21 Dec 2008 23:48] Jess Balint
first version of patch

Attachment: ssps_resmd.diff (application/octet-stream, text), 14.10 KiB.

[21 Dec 2008 23:49] Jess Balint
Pushed to https://code.launchpad.net/~myodbc-developers/myodbc/ssps_result_metadata
[10 Feb 2009 20:32] Jess Balint
Pushed to https://code.launchpad.net/~myodbc-developers/myodbc/3.51_ssps_result_metadata
[28 Mar 2017 3:25] Bogdan Degtyariov
Posted by developer:
 
Old obsolete bug, the problem fixed long ago