MySQL Connector/C++ Release Notes
Support was added for encrypted sessions over TLS connections.
An encrypted session can be requested either via the
ssl-enable
and ssl-ca
options of a connection string, or using explicit session
creation options. For X DevAPI or X DevAPI for C session settings,
see the Connector/C++ X DevAPI Reference, available at
https://dev.mysql.com/doc/index-connectors.html (check the documentation for
enum mysqlx_opt_type_t
).
The X DevAPI Schema
object now supports
methods for view manipulation: createView()
,
alterView()
, and
dropView()
.
X DevAPI for C now contains functions that implement similar
functionality: mysqlx_view_create()
,
mysqlx_view_replace()
,
mysqlx_view_modify()
, and (implemented
previously) mysqlx_view_drop()
.
As with other X DevAPI for C operations, there are functions that
create a statement handle without executing it:
mysqlx_view_create_new()
,
mysqlx_view_replace_new()
, and
mysqlx_view_modify_new()
.
These X DevAPI for C functions modify view DDL statements before
execution: mysqlx_set_view_algorithm()
,
mysqlx_set_view_security()
,
mysqlx_set_view_check_option()
,
mysqlx_set_view_definer()
, and
mysqlx_set_view_columns()
.
The format of document ID values generated when adding documents to a collection has changed. It is still a string of 32 hexadecimal digits based on UUID, but the order of digits was changed to match the requirement of a stable ID prefix.
Connector/C++ now supports IPv6 target hosts in connection strings and when creating sessions using other methods.