Release Notes for MariaDB Connector/ODBC 3.1.19


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.1.19 was released on 2023-07-07. This release is of General Availability (GA) maturity.

Notable Changes

  • In binary packages for Windows and macOS, MariaDB Connector/ODBC 3.1.19 is statically linked with MariaDB Connector/C 3.3.5.

  • In binary packages for Linux, MariaDB Connector/ODBC 3.1.19 is dynamically linked to MariaDB Connector/C, so the Connector/C version depends on which version is installed. MariaDB Connector/C versions 3.2 or greater can be used, but version 3.3 or greater is required for the failover feature.

Issues Fixed

  • When a subquery returns a BIT(1)BIT(1) column, a 0 value could be interpreted as true. (ODBC-350)

  • When query timeouts are set with the SQL_ATTR_QUERY_TIMEOUT statement attribute, Connector/ODBC leaks memory for each statement executed, regardless of whether a timeout occurs. (ODBC-390)

  • When the server is configured with lower_case_table_names=2 and certain catalog functions are called, such as SQLStatistics(), Connector/ODBC does not compare table names in a case insensitive manner. (ODBC-391, ODBC-370)

    • In previous releases, this issue could cause SQLStatistics() to return no indexes for a table if the application did not specify the table name parameter in lowercase or if it retrieved the table name parameter from the results of the SQLTables() function. Due to this issue, Microsoft Access could not read the indexes for such tables.

  • When the SQL_ATTR_CURRENT_CATALOG connection attribute is set using the SQLSetConnectAttr() function from the ANSI API, if the attribute value is passed with a length instead of as a SQL_NTS, the result can be incorrect. (ODBC-392)