Release Notes for MariaDB Connector/ODBC 3.2.1


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.1 was released on 2023-12-01. This release is of Release Candidate (RC) maturity, and should not be used with production workloads.

Notable Changes

  • Support ODBC 3.8 standard. The driver is now compliant with ODBC standard version 3.8. Mainly that means implementation of the SQLCancelHandle API function and SQL_ATTR_RESET_CONNECTION connection attribute support (ODBC-66)

  • Add Prepared Statement Cache to the Connector. The driver now uses a cache for server side prepared statements, such that instead of re-preparing a statement it will use them from the cache. An application can configure the cache with PSCACHESIZE and MAXCACHEKEY connection string options. The former sets the size of the cache, i.e., the number of statements that will be cached, the latter is the maximal size of the cache key, which effectively limits the maximum query length, which will be (the value of MAXCACHEKEY) - (length of the current schema name) - 1 (ODBC-397)

  • Connector/ODBC is now available as RPM and DEB packages for selected platforms (RHEL, Ubuntu, Debian)

  • Improved protocol resilience in case of resultset streaming. In version 3.1, if resultset streaming is used, it will block the connection, and the driver will return an error on any new query. The 3.2.1 driver in this case will cache the rest of currently streamed resultset, and execute the new query without error

Issues Fixed

  • alloc-dealloc-mismatch in MADB_DbcFree (ODBC-389)

  • Transaction Isolation with 11.1.1+ server (ODBC-394)

  • Transaction Isolation Level is not applied if set before connect (ODBC-395)

  • SQLCancel won't work in case of encrypted connection, and in some other cases (ODBC-401)