MySQL Connector/C++ Changelog

What's new in MySQL Connector/C++ 1.1.4

Aug 1, 2014
  • Functionality Added or Changed:
  • Connector/C++ now supports the following connection options: sslVerify (boolean), sslCRL (string), and sslCRLPath (string). These correspond to the MYSQL_OPT_SSL_VERIFY_SERVER_CERT, MYSQL_OPT_SSL_CRL, and MYSQL_OPT_SSL_CRLPATH options for the mysql_options() C API function. (Bug #18461451)
  • Connector/C++ has new functions to provide schema, table, and column character set and collation metadata for result sets. (Bug #72698, Bug #18803345)
  • Connector/C++ now supports the MYSQL_OPT_CONNECT_ATTR_ADD option, which accepts an std::map argument. This option corresponds to the MYSQL_OPT_CONNECT_ATTR_ADD option for mysql_options4(). (Bug #72697, Bug #18803313)
  • Connector/C++ now supports a useLegacyAuth connection option, which corresponds to the MYSQL_SECURE_AUTH option for mysql_options(). (Bug #69492, Bug #16970753)
  • Connector/C++ is now compiled and linked with Connector/C 6.1.5 rather than with libmysql.
  • Bugs Fixed:
  • MySQL_ResultSetMetaData::getColumnTypeName() returned UNKNOWN for LONG_BLOB fields. (Bug #72700, Bug #18803414)
  • Connector/C++ version-information methods have been revised to return the correct values. (Bug #66975, Bug #14680878)
  • Definitions for character sets and collations were added (utf8mb4 in particular). (Bug #71606, Bug #18193771)

New in MySQL Connector/C++ 1.1.3 (May 3, 2013)

  • Functionality Added or Changed:
  • Connector/C++ now supports an OPT_ENABLE_CLEARTEXT_PLUGIN connection option. If true, it enables the client-side cleartext authentication plugin. This client-side plugin is required, for example, for accounts that use the PAM server-side authentication plugin. (Bug #16520952)
  • Bugs Fixed:
  • MySQL_ConnectionMetaData::getBestRowIdentifier() considered only PRIMARY KEY columns usable for row identifiers. It now also considers UNIQUE NOT NULL columns suitable for the same purpose. (Bug #16277170)

New in MySQL Connector/C++ 1.1.1 (Oct 1, 2012)

  • Functionality Added or Changed:
  • Added MySQL_Connection::getLastStatementInfo() which returns back the value of the mysql_info() function of the MySQL Client Library (libmysql).
  • Added new method ResultSetMetaData::isNumeric() and implemented it in all classes that subclass from it.
  • URI format has been extended to better fit IPv6 addresses. You can now use [] to separate the host part of the URI.
  • Built against libmysql 5.5.27, enabling support of authentification plugins and IPv6.
  • Bugs Fixed:
  • Compiling with Visual Studio 2010 could fail with compilation errors if the source contained a #include line. The errors were typically of the form cannot convert from 'type1' to 'type2'. (Bug #14113387, Bug #60307)
  • DatabaseMetaData::getSQLKeywords() updated to match MySQL 5.5. Note that Connector/C++, just like Connector/J, returns the same list for every MySQL database version.
  • A statement that did not raise any warning could return warnings from a previously executed statement.
  • Fixed stores(Lower|Mixed)Case(Quoted)Identifiers methods.