> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/connectors/odbc/3.1/3.1.21.md).

# Connector/ODBC 3.1.21 Release Notes

{% hint style="info" %}

<p align="center">The most recent release of <a href="/spaces/CjGYMsT2MVP4nd3IyW2L/pages/ay1ymzmBVFPQWJNkKatV">MariaDB Connector/ODBC</a> is: <a href="/pages/l4AQOEZyCNhjXNysTeRf"><strong>3.2.9</strong></a></p>

<p align="center"><a href="https://mariadb.com/downloads/connectors/connectors-data-access/odbc-connector" class="button primary">Download Connector/ODBC 3.2.9</a></p>
{% endhint %}

[Download](https://mariadb.com/downloads/connectors/connectors-data-access/odbc-connector)[Release Notes](/docs/release-notes/connectors/odbc/3.1/3.1.21.md)[Changelog](/docs/release-notes/connectors/odbc/changelogs/3.1/3.1.21.md)[About MariaDB Connector/ODBC](https://github.com/mariadb-corporation/docs-release-notes/blob/test/kb/en/about-mariadb-connector-odbc/README.md)

**Release date:** 24 Feb 2025

This is a [Stable (GA)](/docs/release-notes/community-server/about/release-criteria.md) release of MariaDB Connector/ODBC 3.1.

MariaDB Connector/ODBC 3.1.21 is built on top of [MariaDB Connector/C v.3.3.14](/docs/release-notes/connectors/c/3.3/3.3.14.md).

## Bug Fixes

* [ODBC-405](https://jira.mariadb.org/browse/ODBC-405) -Values of DECIMAL type variables cannot be read. Reading the recordset's field values causes error "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done."
* [ODBC-418](https://jira.mariadb.org/browse/ODBC-418) - Widechar string data gets truncated if contains NULL character
* [ODBC-430](https://jira.mariadb.org/browse/ODBC-430) - The maximum size of VARCHAR and VARBINARY is 65535, while SQLGetTypeInfo reports 255 for them
* [ODBC-435](https://jira.mariadb.org/browse/ODBC-435) - SQLPrimaryKeys call returns incorrect KEY\_SEQ field
* [ODBC-443](https://jira.mariadb.org/browse/ODBC-443) - Incorrect value for charset utf8mb4 and longtext column with multibyte unicode characters
* [ODBC-448](https://jira.mariadb.org/browse/ODBC-448) - Fetching bigint data to double buffer fails for big values

## Changelog

For a complete list of every change made in this release, with links to\
detailed information on each push, see the [changelog](/docs/release-notes/connectors/odbc/changelogs/3.1/3.1.21.md).

<sub>*This page is: Copyright © 2025 MariaDB. All rights reserved.*</sub>

{% @marketo/form formid="4316" formId="4316" %}
