| Bug #37278 | SQLDriverConnect truncates the 5th parameter to 52 characters | ||
|---|---|---|---|
| Submitted: | 9 Jun 2008 12:20 | Modified: | 10 Oct 2008 15:51 |
| Reporter: | Bogdan Matasaru | ||
| Status: | Closed | ||
| Category: | Connector/ODBC | Severity: | S2 (Serious) |
| Version: | 5.1.4 | OS: | Microsoft Windows |
| Assigned to: | Bugs System | Target Version: | |
| Tags: | SQLDriverConnect, Connect string | ||
| Triage: | D2 (Serious) | ||
If the data you need to attach is more than 500KB, you should create
a compressed archive of the data and a README file that describes the data
with a filename that includes the bug number (example:
bug-data-37278.zip), and use FTP to upload the archive
to ftp://ftp.mysql.com/pub/mysql/upload/.
Once you have uploaded the file, add a comment to this bug to notify us about
it. Note: This directory is unlistable, which means that once you
have uploaded your file, you will not be able to see it.
All entries become the exclusive editorial property of Sun Microsystems, Inc.
Updated test that displays also the length of resulting connection string.
Attachment: TestODBC.zip (application/zip, text), 29.46 KiB.
Your test case result
Attachment: Bug37278.JPG (image/jpeg, text), 73.65 KiB.
I added code that tries to open the connection based on the returned string.
Attachment: TestODBCDoc.cpp (text/plain), 1.79 KiB.
Connection
Attachment: mysqlodbc.png (image/png, text), 30.38 KiB.
The immediate result of the connect call
Attachment: mysqlodbcdbg.png (image/png, text), 48.16 KiB.
