Dear MySQL users,
MySQL Connector/ODBC 5.3.2 GA, a new version of the ODBC driver for
the MySQL database management system, has been released.
The available downloads include both a Unicode driver and an ANSI
driver based on the same modern codebase. Please select driver type
you need based on the type of your application - Unicode or ANSI.
Server-side prepared statements are enabled by default. It is suitable
for use with any MySQL version since 4.1 (It will not work with 4.0 or
earlier releases.)
This is the third release of the MySQL ODBC driver conforming to the
ODBC 3.8 specification. It contains the minimally required
implementation of the standard with key 3.8 features, which include
self-identification as a ODBC 3.8 driver, streaming of output parameters
(supported for binary types only), support of the
SQL_ATTR_RESET_CONNECTION connection attribute (for the Unicode driver
only).
Also Connector/ODBC 5.3 introduces a GTK+-based setup library
providing GUI DSN setup dialog on some Unix based systems, currently
included in the Oracle Linux 6 and Debian 6 binary packages. Other new
features in the 5.3 driver are FileDSN and Bookmarks support.
The release is now available in source and binary form for a number of
platforms from our download pages at
http://dev.mysql.com/downloads/connector/odbc/5.3.html
For information on installing, please see the documentation at
http://dev.mysql.com/doc/refman/5.6/en/connector-odbc-installation.html
Enjoy!
The MySQL Connectors team at Oracle
-
Changes in MySQL Connector/ODBC 5.3.2 (2014-04-08)
Functionality Added or Changed
* Implemented support for the ODBCINSTGetProperties
interface for use by unixODBC GUI dialogs. This allows
users to configure a file DSN through a graphical user
interface on Unix-like platforms. (Bug #17513175)
* Made the Connector/ODBC GUI on Linux comply with the
GNOME Coding Guidelines for Supporting Accessibility
(https://developer.gnome.org/accessibility-devel-guide/3.
10/gad-coding-guidelines.html.en).
* Added support for the connection flag
DFLT_BIGINT_BIND_STR.
Bugs Fixed
* The functions SQLSetDescField(), SQLGetDiagField(), and
SQLGetDiagRec() crashed when a null pointer was passed as a
handle for those functions. This fix makes the functions check
if the passed pointer is null before using it. (Bug #18431088)
* SQLBulkOperations(SQL_FETCH_BOOKMARK) returned an SQL_NO_DATA
error when called after
SQLBulkOperations(SQL_UPDATE_BY_BOOKMARK) or
SQLBulkOperations(SQL_DELETE_BY_BOOKMARK). (Bug #18287216)
* The order of the control elements was wrong during control
selection in Connector/ODBC's Windows GUI. (Bug #18240696)
* Concurrent execution of SQLEndTran() and SQL_HANDLE_ENV
resulted in a segmentation fault. (Bug #18166331)
* Calling SQLNumResultCols() with a NULL parameter resulted in a
segmentation fault. (Bug #18165197)
* At a malloc() failure, Connector/ODBC crashed because in the
driver_new() function, driver is being freed before
driver-name and driver-lib. This fix corrects the order of
the free() calls. (Bug #17992912)
* myodbc-installer did not initialize the allocated memory. This
fix flushes the buffer with \0 for initialization. (Bug
#18046120)
* Connector/ODBC's GUI dialog could not be opened from within
ODBCManageDataSourcesQ4 for editing an existing DSN. (Bug
#18046123)
* Connector/ODBC crashed when trying to prepare a query after
connecting to the server with an invalid value for CHARSET.
This fix checks the CHARSET value and throws an error if it is
invalid. (Bug #17999659)
* Driver and installer crashed when the path lengths supplied
were longer than 256 characters or when the option strings
were longer than 100 characters. This fix makes Connector/ODBC
return the proper errors instead. (Bug #17966018)
* SQLFetch() crashed when executed using unixodbc versions
2.3.0, 2.3.1, or 2.3.2. (Bug #17857204)
* A segmentation fault occurred in SQLSpecialColumns() if the
table name supplied was too long. This fix makes Connector/Net
throw a proper error for the situation. (Bug #17854697)
* SQLGetData did not return correct length of the data when
retrieving data from an output parameter stream. (Bug
#17814768, Bug #70946)
* When called after SQLParamaData, SQLGetData returned an error.
(Bug #17842966)
* A segmentation fault occurred in SQLBulkOperations for an
SQL_UPDATE_BY_BOOKMARK if the prior fetch returned no records.
(Bug #17714358)
* Data corruption occurred in SQLBulkOperations(), because in
the batch_insert() function, ptr_offset_adjust sometimes
pointed to an invalid memory location. (Bug #17714172)
* While doing BULK INSERT into a table's time column using
Connector/ODBC, a syntax error was thrown if there was an hour
value larger than 99. This fix makes sure the proper error is