[ODBC-27] SQLDriverConnect Created: 2015-11-04  Updated: 2016-03-07  Resolved: 2016-03-07

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.6

Type: Bug Priority: Major
Reporter: Bryan Boone Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

SQLDriverConnect doesn't return the connection string in the OutConnectionString variable.



 Comments   
Comment by Lawrin Novitsky [ 2016-01-11 ]

Thank you for your bug report.
Could you please provide some more details? What version do you use, what are conditions for the error to occur, etc

Because basically I can see it is returned. I think I have noticed some problems with out string length, but out string is not empty.

Comment by Bryan Boone [ 2016-01-11 ]

Using
Given:
MariaDB ODBC 1.0 Driver

SWORD cbConnStrIn = 0;
SWORD cbConnStrOutMax = 510;
SWORD cbConnStrIn = 0;
SWORD cbConnStrOut = 0;
SQLHWND hwndForDriverPrompt = ...

SQLDriverConnect(hdbc, hwndForDriverPrompt, szConnStrIn, cbConnStrIn,
szConnStrOut, cbConnStrOutMax, &cbConnStrOut, SQL_DRIVER_COMPLETE )

szConnStrOut comes back as an empty string.

Comment by Lawrin Novitsky [ 2016-03-07 ]

Fix has been pushed in rev# d47f

Generated at Thu Feb 08 03:25:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.