MariaDB Connector/C 3.4.0 Release Notes
The most recent Stable (GA) release of MariaDB Connector/C is:MariaDB Connector/C 3.4.5
Release NotesChangelogAbout MariaDB Connector/C
Release date: 24 June 2022
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see theMariaDB Connector/C page.
Notable changes
TLS encryption
CONC-692: Provide X509 peer certificate information:
Added a new structure MARIADB_X509_INFO, which contains information about peer certificate. The information can be obtained via mysql_get_infov API function:
MARIADB_X509_INFO *info;
mariadb_get_infov(mysql, MARIADB_TLS_PEER_CERT_INFO, &info);
MDEV-31857: enable MYSQL_OPT_SSL_VERIFY_SERVER_CERT by default
Using TLS/SSL has been simplified with MariaDB Server 11.4. Before version 11.4, proper TLS/SSL configuration required multiple manual steps for the server and all the clients connecting to it.
For MariaDB Connector/C before 3.4 to establish an TLS/SSL encrypted connection, or a MariaDB Server release series previous to 11.4, three options can be used:
MDEV-30366 - Server now permits to send a result-set containing generated id and affected rows for each bulk operation. This feature can be enabled with option MARIADB_OPT_BULK_UNIT_RESULTS. The server indicates if this feature is supported by setting MARIADB_CLIENT_BULK_UNIT_RESULTS in his capability flags.
Added support for restricted_auth in configuration files
Support for new collations which were added in MariaDB Server 11.5
Issues fixed
CONC-605: Don't allow to use unsupported client flags in mysql_real_connectCONC-677: Fix memory leak when setting default configuration directoriesCONC-648: Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contributionCONC-683: Check pending results when closing statementCONC-688: mariadb_rpl_fetch() crashes if table is partitioned
Contributions
Warning fixes (-Wcalloc-transposed-args) in calloc calls (Thanks to Sam James)
Fixed SSL_read/write return value check in ma_tls_async_check_result (Thanks to Josh Hunt)
Changelog
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?