MySQL Connector/C++ 1.1.2がリリースされました


>MySQL Connector C++の新しいGAバージョンであるMySQL Connector/C++ 1.1.2 GAがリリースされました。MySQL Connector/C++はクライアントアプリケーションからMySQL Server 5.1以上に接続するためのC++ APIを提供します。製品リリースは以下からダウンロード可能です:


C++向けのMySQLドライバはJDBC 4.0から派生した使いやすいAPIを提供します。MySQL Workbenchは数年前からこれを利用しています


Changes in MySQL Connector/CPP 1.1.2 (5 February, 2013)

   Bugs Fixed

     * Connector/C++ applications could not handle connecting to the
       server using an account for which the password had expired.
       Connector/C++ now supports three new connection options:

          + OPT_CAN_HANDLE_EXPIRED_PASSWORDS: If true, this indicates
            to the driver that the application can handle expired
            If the application specifies
            OPT_CAN_HANDLE_EXPIRED_PASSWORDS but the underlying
            libmysql library does not support it, the driver returns

          + preInit: A string containing queries to run before driver

          + postInit: A string containing queries to run after driver
       A new file driver/mysql_error.h is being added to the MSI
       package. This file defines an enum DRIVER_ERROR, which
       contains the definition of deCL_CANT_HANDLE_EXP_PWD.
       In addition to the preceding changes, these problems with
       Statement::executeUpdate were fixed:

          + If Statement::executeUpdate executed multiple statements,
            the connection became unusable.

          + There was no exception if one of queries returned a
            resultset. Now executeUpdate returns and update count for
            the last executed query.
       For example code showing how to use the new options, see the
       file test/unit/bugs/bugs.cpp in the Connector/C++
       distribution. (Bug #67325, Bug #15936764)