MariaDB Connector/C 3.0.1-beta Release Notes

You are viewing an old version of this article. View the current version here.

The most recent Stable (GA) release of MariaDB Connector/C is:
MariaDB Connector/C 3.3.8

Download Release Notes About MariaDB Connector/C

Release date: 17 Jan 2017

This is an Beta release of MariaDB Connector/C, formerly known as the MariaDB Client Library for C. As with any other pre-production release, cautions should be taken when installing on production systems or systems with critical data.

For a description of this library see the MariaDB Connector/C page.

Download

Binary packages for Windows (32 and 64-bit) and generic Linux packages as well as source code packages are available from the MariaDB download page

New features

  • Indicator variables for prepared statements
  • MDEV-9114 bulk operations (array binding) for prepared statements (insert, update, delete).
  • support for extended client/server capabilities (requires MariaDB 10.2 or newer)
  • The DBUG library was removed from Connector/C 3.0

Plugins

New API functions and enhancements

  • mariadb_stmt_execute_direct() prepares and executes in one step (mainly used by MariaDB ODBC driver)
  • mariadb_cancel()aborts a connection immediately by making all subsequent read/write operations fail
  • mysql_reset_connection() resets the current connection and clears session state
  • mariadb_get_infov returns generic or connection specific information
  • mysql_stmt_warning_count() returns warnings per statement
  • mysql_session_track_get_next
  • mysql_session_track_get_first
  • Added tls_version support for schannel. tls_version has to be specified via mysql_options(mysql, MARIADB_OPT_TLS_VERSION, ...)

Notable bug fixes

  • CONC-224: Allow to build Connector/C without TLS/SSL support
  • CONC-223: Add client support for missing collations
  • CONC-218: reset a previously used statement when calling mysql_stmt_attr_set with option STMT_ATTR_PREBIND_PARAMS
  • CONC-217: mariadb_stmt_execute_direct: Clear error message from mysql_stmt_execute if prepare failed
  • CONC-202: remove definition of _snprintf (failed with Visual Studio 15)
  • CONC-200: support of my_ulonglong
  • CONC-180: return system error message in case of SEC_E_INTERNAL_ERROR (Schannel)
  • CONC-177: Fixed length calculation for zerofill conversion from float/double to string
  • CONC-170: missing blank in mariadb_config --libs output
  • CONC-169: Memory corruption in mariadb_dyncol_unpack
  • CONC-168: string conversion of timestamps is broken
  • Solaris build fixes
  • Fixed possible overrun in authentication
  • fixed crash in shared memory connection
  • Fixed memory overrun in my_strdup_root
  • binary fetch fixes for prepared statements:
    • append trailing \0 for strings
    • don't remove last byte for binary objects
  • removed call of gnutls_bye() since server is not able to detect dead socket
  • Added new cipher mapping for GnuTLS
  • removed global context for TLS/SSL sessions
  • fixed wrong behavior when using SChannel: SEC_I_RENEGOTIATE is now handled as error
  • Fix for repreparing statement: Don't send COM_STMT_RESET if we will send COM_STMT_CLOSE afterwards
  • MDEV-10894: fixed conversion for big-endian platforms
  • MDEV-11008: Connector/C integration does not respect INSTALL_LIBDIR or INSTALL_DOCDIR
  • MDEV-10357: my_context_continue() does not store current fiber on Windows
  • Added support for OpenSSL 1.1
  • fixed build when using GnuTLS. Minimum required version of GnuTLS is 3.3.24
  • fixed output for plugin directory in mariadb_config
  • added sigpipe handler for OpenSSL

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.