MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Hery Ramilison Date:May 13 2014 11:52am
Subject:MySQL Connector/ODBC 5.2.7 has been released
View as plain text  
Dear MySQL users,

MySQL Connector/ODBC 5.2.7, 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.)

The release is now available in source and binary form for a number of
platforms from our download pages at

MySQL Connector/ODBC 5.2.7 will also be available for downloads via the
Oracle Software Delivery Cloud in approximately 1-2 weeks.

For information on installing, please see the documentation at


The MySQL Connectors team at Oracle


Changes in MySQL Connector/ODBC 5.2.7 (2014-05-13)

Heartbleed Bug

   * Connector/ODBC has been updated to use OpenSSL version 1.0.1g,
     which has been publicly reported as not vulnerable to
     60). Please see Oracle Note #1645479.1
     &id=1645479.1) for further details. (Bug #18533200,

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)

   * The order of the control elements was wrong during control
     selection in Connector/ODBC's Windows GUI. (Bug #18240696)

   * 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

   * Connector/ODBC's GUI dialog could not be opened from within
     ODBCManageDataSourcesQ4 for editing an existing DSN. (Bug

   * 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)

   * 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)

   * If Connector/ODBC was built from source on Unix/Linux
     platforms, the tests provided in the distribution (see Testing
     Connector/ODBC on Unix
     unix-testing)) could not be run with make test. (Bug
     #17615811, Bug #70634)

   * A memory leak occurred when using Connector/ODBC to update the
     contents of a row. (Bug #17653461, Bug #70662)

   * A bad memory access occurred in the ssps_get_out_params
     function in my_prepared_stmt.c, when a call was made to a
     stored procedure with any IN parameters coming after the last
     OUT or INOUT parameter. (Bug #17640929, Bug #70642)

   * A memory leak occurred in SQLConnect() when it was invoked
     after a call of SQLSetConnectAttr() that used the parameter
     SQL_ATTR_CURRENT_CATALOG. (Bug #17586844)

   * If the catalog name given to SQLSetConnectAttr() was too long,
     calling SQLConnect() or SQLDriverConnect() crashed the
     connection, and calling SQLGetConnectAttr() returned null for
     the catalog name. (Bug #17587913)

   * A memory leak occurred in SQLExecute() when the connection was
     killed by another thread. (Bug #17587617)

   * SQLDescribeCol() returned a memory allocation failure error
     when called without a resultset. This fix makes sure the
     proper error is returned. (Bug #17588101)

   * The DMG installer for Connector/ODBC failed on OS X 10.8 and
     10.9. This fix corrects the wrong identification for the drive
     type, which caused the installation problem. (Bug #17512040,
     Bug #70422)

   * A memory leak occurred in SQLSetStmtAttr(). (Bug #17441507)

   * A segmentation fault occurred when SQLColumns()'s argument for
     table name was longer than 256 characters or its argument for
     column name was longer than 129 characters. This fix makes
     Connector/ODBC throw a proper error for those situations. (Bug

   * A memory leak occurred in SQLProcedureColumns() when no
     function or procedure column satisfying the selection
     condition existed. (Bug #17298721)

   * An assertion failure occurred in SQLDescribeCol() if the
     column number used is larger than the number of columns in the
     result set. (Bug #17311065)

   * A segmentation fault occurred in myodbc_casecmp() when the
     provided query was empty. (Bug #17085344)

   * When using Connector/ODBC in Microsoft Access, sorting a
     column in the data view might crash the program. (Bug
     #17071780, Bug #69550)

   * When the connection option FLAG_NO_INFORMATION_SCHEMA was
     used, calling the SQLFetch function after the SQLForeignKeys
     function returned bad results. (Bug #16920750)

   * When building Connector/ODBC on some 64-bit systems other than
     x86_64 (e.g. ppc64), CMake did not recognize that it was a
     64-bit system and incorrectly used lib instead of lib64 as
     directory name for installing the dynamic library. This fix
     implements a two-step approach, making CMake check for the
     system architecture by reading the value of
     CMAKE_SIZEOF_VOID_P and also by checking the existence of the
     /usr/lib64 folder. (Bug #16785424)

   * The function SQLForeignKeys() did not work if the connection
     option NO_I_S was set. (Bug #13712420, Bug #64307)

Built against the MySQL server 5.6.18 client library.

Hery Ramilison
MySQL/ORACLE Release Engineering Team
Oracle, the MySQL team,

MySQL Connector/ODBC 5.2.7 has been releasedHery Ramilison13 May