Documentation Home
MySQL Connector/C++ Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 256.0Kb
PDF (A4) - 255.5Kb
HTML Download (TGZ) - 56.5Kb
HTML Download (Zip) - 103.8Kb


MySQL Connector/C++ Release Notes  /  Changes in MySQL Connector/C++ 2.0  /  Changes in MySQL Connector/C++ 2.0.4 (2017-03-21, Development Milestone)

Changes in MySQL Connector/C++ 2.0.4 (2017-03-21, Development Milestone)

X DevAPI 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 session settings, see https://dev.mysql.com/doc/dev/connector-cpp/8.0/classmysqlx_1_1_session_settings.html. For X DevAPI for C session settings, see https://dev.mysql.com/doc/dev/connector-cpp/8.0/group__xapi.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().

Functionality Added or Changed

  • 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.

Bugs Fixed

  • When rList is an empty list, table.insert().rows(rList) caused a segmentation fault. (Bug #25515964)