Release Notes for MariaDB Connector/ODBC 3.2.2

Overview

MariaDB Connector/ODBC is a standard ODBC driver for building cross-platform applications on top of MariaDB database products. It is compliant with ODBC 3.5. It is written in C and uses MariaDB Connector/C.

MariaDB Connector/ODBC 3.2.2 was released on 2024-06-18. This release is of General Availability (GA) maturity.

Notable Changes

  • The driver has been moved to use Connector/C 3.4 series driver. The most important change implied by that, is that certificate verification option (SSLVERIFY) is now by default on if encrypted connection is requested by the application. (ODBC-421)

  • Support of new C/C callback system for custom data type conversion. There are 2 types of callbacks - for parameters and result. (ODBC-163)

    • Parameter callbacks are used for bulk operations and allow for minimizing the memory use required for data type conversions. Their use is controlled by the connection string option PCALLBACK, which is on by default.

    • Result callbacks are designed to make certain types of conversions faster and also reduce memory use, as they can write directly to application buffers, and do not allocate intermediate buffers normally required for conversion. The option to turn on result callbacks is RCALLBACK and it is off by default.

  • SQLForeignKeys performance optimization. The function could be noticeably slow in the case of a large number of schemas in the database. The optimization makes it significantly faster in such cases. (ODBC-410)

Issues Fixed

  • Executable Comment Syntax which results in empty command gives 'You have an error in your SQL syntax' (ODBC-399)

  • Setting query timeout could cause error with older server versions "Unknown system variable 'STATEMENT'" (ODBC-403)

  • Can't read DECIMAL values with error: (ODBC-405)

    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    
  • Widechar string data gets truncated if it contains a NULL character (ODBC-418)

Installation