Binary distributions of this Connector/C++ release were compiled using Boost 1.54.0. If you compile this Connector/C++ release from source, you must also use that Boost version.
Connector/C++ now supports the following connection options:
sslVerify
(boolean),sslCRL
(string), andsslCRLPath
(string). These correspond to theMYSQL_OPT_SSL_VERIFY_SERVER_CERT
,MYSQL_OPT_SSL_CRL
, andMYSQL_OPT_SSL_CRLPATH
options for themysql_options()
C API function. (Bug #18461451)-
Connector/C++ has new methods to provide schema, table, and column character set and collation metadata for result sets:
ResultSet * DatabaseMetaData::getSchemaCollation(const sql::SQLString& catalog, const sql::SQLString& schemaPattern)
ResultSet * DatabaseMetaData::getSchemaCharset(const sql::SQLString& catalog, const sql::SQLString& schemaPattern)
ResultSet * DatabaseMetaData::getTableCollation(const sql::SQLString& catalog, const sql::SQLString& schemaPattern, const sql::SQLString& tableNamePattern)
ResultSet * DatabaseMetaData::getTableCharset(const sql::SQLString& catalog, const sql::SQLString& schemaPattern, const sql::SQLString& tableNamePattern)
SQLString ResultSetMetaData::getColumnCollation(unsigned int columnIndex)
SQLString ResultSetMetaData::getColumnCharset(unsigned int columnIndex)
(Bug #72698, Bug #18803345)
Connector/C++ now supports the
OPT_CONNECT_ATTR_ADD
option, which accepts anstd::map
argument. This option corresponds to theMYSQL_OPT_CONNECT_ATTR_ADD
option formysql_options4()
. (Bug #72697, Bug #18803313)Connector/C++ now supports a
useLegacyAuth
connection option, which corresponds to theMYSQL_SECURE_AUTH
option for themysql_options()
C API function, except that the sense is the logical negation. For example, to disable secure authentication, pass auseLegacyAuth
value of true. (Bug #69492, Bug #16970753)
MySQL_ResultSetMetaData::getColumnTypeName()
returnedUNKNOWN
forLONG_BLOB
fields. (Bug #72700, Bug #18803414)Definitions for character sets and collations were added (
utf8mb4
in particular). (Bug #71606, Bug #18193771)Connector/C++ version-information methods have been revised to return the correct values. (Bug #66975, Bug #14680878)