MySQL Forums
Forum List  »  Announcements

MySQL Connector/C++ 1.1.2 has been released
Posted by: Kent Boortz
Date: February 05, 2013 07:38AM

Dear MySQL Users,

A new GA (general availability) version of MySQL Connector/C++ has
been made available: MySQL Connector/C++ 1.1.2 GA. The MySQL
Connector/C++ provides a C++ API for connecting client applications to
the MySQL Server 5.1 or newer. You can download the production release
at:

http://dev.mysql.com/downloads/connector/cpp/1.1.html

The MySQL driver for C++ offers an easy to use API derived from JDBC
4.0. MySQL Workbench is using it successfully since years.

We have improved the driver since the last GA release. Please see the
documentation and the CHANGES file in the source distribution for a
detailed description of bugs that have been fixed. Bug descriptions are
also listed below.

Enjoy!

The MySQL build team at Oracle

==========
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
            passwords.
            If the application specifies
            OPT_CAN_HANDLE_EXPIRED_PASSWORDS but the underlying
            libmysql library does not support it, the driver returns
            sql::mysql:deCLIENT_DOESNT_SUPPORT_FEATURE(820).

          + preInit: A string containing queries to run before driver
            initialization.

          + postInit: A string containing queries to run after driver
            initialization.
       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)

Kent Boortz, Release Staff Engineer
Oracle, the MySQL team, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Connector/C++ 1.1.2 has been released
3120
February 05, 2013 07:38AM


Sorry, you can't reply to this topic. It has been closed.

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.