Bug #38949 Output string length from SQLDriverConnect includes NULL-term

Submitted: 21 Aug 2008 20:44 Modified: 10 Oct 2008 13:58
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: Jess Balint CPU Architecture:Any

[21 Aug 2008 20:44] Jess Balint
Description:
The pointer passed to SQLDriverConnect() to retrieve the output connection string length is one greater than it should be due to inclusion of the NULL terminator.

How to repeat:
Call SQLDriverConnect() and check the output length reported from the driver vs. the actual length of the string.
[11 Sep 2008 3:09] Jess Balint
COLUMN_SIZE was still the wrong value for Access, even when FLAG_NO_BIGINT was set
[11 Sep 2008 3:09] Jess Balint
Branch pushed to launchpad:
https://code.launchpad.net/~myodbc-developers/myodbc/bug38949
[3 Oct 2008 14:39] Jess Balint
Merged to trunk. Will be released in 5.1.6.
[10 Oct 2008 13:58] Tony Bedford
Added an entry to the 5.1.6 changelog:

The pointer passed to the SQLDriverConnect method to retrieve the output connection string length was one greater than it should have been due to the inclusion of the NULL terminator.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.