> 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/community-server/old-releases/10.4/10.4.20.md).

# MariaDB 10.4.20 Release Notes

MariaDB 10.4.20 is a Stable (GA) release of MariaDB Community Server 10.4, released on 2021-06-23

The most recent release of [MariaDB 10.4](/docs/release-notes/community-server/old-releases/10.4.md) is:[**MariaDB 10.4.34**](/docs/release-notes/community-server/old-releases/10.4/10.4.34.md) Stable (GA) [Download Now](https://downloads.mariadb.org/mariadb/10.4.34/)

[Download 10.4.20](https://downloads.mariadb.org/mariadb/10.4.20/) | [Release Notes](/docs/release-notes/community-server/old-releases/10.4/10.4.20.md) | [Changelog](/docs/release-notes/community-server/changelogs/changelogs-mariadb-10-4-series/mariadb-10420-changelog.md) | [Overview of 10.4](/docs/release-notes/community-server/old-releases/10.4/what-is-mariadb-104.md)

**Release date:** 23 Jun 2021

[MariaDB 10.4](/docs/release-notes/community-server/old-releases/10.4.md) is a previous *stable* series of MariaDB. It is an evolution of [MariaDB 10.3](/docs/release-notes/community-server/old-releases/10.3/what-is-mariadb-103.md) with several entirely new features not found anywhere else and with backported and reimplemented features from MySQL.

[MariaDB 10.4.20](/docs/release-notes/community-server/old-releases/10.4/10.4.20.md) is a [***Stable (GA)***](/docs/release-notes/community-server/about/release-criteria.md) release.

**For an overview of** [**MariaDB 10.4**](/docs/release-notes/community-server/old-releases/10.4.md) **see the**[**What is MariaDB 10.4?**](/docs/release-notes/community-server/old-releases/10.4/what-is-mariadb-104.md) **page.**

Thanks, and enjoy MariaDB!

## Notable Items

This version of MariaDB is being released now to fix the following two regressions:

* Table alias from previous statement interferes later commands ([MDEV-25672](https://jira.mariadb.org/browse/MDEV-25672))
* Join using derived with aggregation returns incorrect results ([MDEV-25714](https://jira.mariadb.org/browse/MDEV-25714))

In addition to the above, this release also contains the following fixes:

### InnoDB

* InnoDB spatial indexes miss large geometry fields after [MDEV-25459](https://jira.mariadb.org/browse/MDEV-25459) ([MDEV-25758](https://jira.mariadb.org/browse/MDEV-25758))
* Double free of transaction during truncate operation ([MDEV-25663](https://jira.mariadb.org/browse/MDEV-25663))
* Double free of table when inplace alter FTS add index fails ([MDEV-25721](https://jira.mariadb.org/browse/MDEV-25721))
* Potential hang in purge for virtual columns ([MDEV-25664](https://jira.mariadb.org/browse/MDEV-25664))
* Change buffer entries for secondary indexes are lost on InnoDB restart\
  ([MDEV-25869](https://jira.mariadb.org/browse/MDEV-25869))

### Replication

* Do not replicate killed multi-table OPTIMIZE TABLE when the signal arrives before any table has been processed ([MDEV-22530](https://jira.mariadb.org/browse/MDEV-22530))
* Fix optistic parallel applier to not deadlock on admin commands OPTIMIZE,\
  REPAIR, and ANALYZE ([MDEV-17515](https://jira.mariadb.org/browse/MDEV-17515))
* Backport [MDEV-20821](https://jira.mariadb.org/browse/MDEV-20821) parallel slave server shutdown hang ([MDEV-22370](https://jira.mariadb.org/browse/MDEV-22370))

### Security

* Fixes for the following [security vulnerabilities](/docs/server/security/cve.md):
  * [CVE-2021-46666](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46666)
  * [CVE-2021-46657](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46657)

MongoDB protocol support files for the [CONNECT](/docs/server/server-usage/storage-engines/connect.md) engine are missing in this release.\
If you want to use [CONNECT](/docs/server/server-usage/storage-engines/connect.md) engine with MongoDB, you need to download [Mongo2.jar](https://github.com/MariaDB/server/raw/mariadb-10.2.38/storage/connect/mysql-test/connect/std_data/Mongo2.jar) or [Mongo3.jar](https://github.com/MariaDB/server/raw/mariadb-10.2.38/storage/connect/mysql-test/connect/std_data/Mongo3.jar) and put a path to this file into the `connect_class_path` in the `my.cnf`.

## Changelog

For a complete list of changes made in [MariaDB 10.4.20](/docs/release-notes/community-server/old-releases/10.4/10.4.20.md), with links to detailed information on each push, see the [changelog](/docs/release-notes/community-server/changelogs/changelogs-mariadb-10-4-series/mariadb-10420-changelog.md).

## Contributors

For a full list of contributors to [MariaDB 10.4.20](/docs/release-notes/community-server/old-releases/10.4/10.4.20.md), see the [MariaDB Foundation release announcement](https://mariadb.org/mariadb-10-5-11-10-4-20-10-3-30-and-10-2-39-now-available/).

{% hint style="info" %}
Be notified of new MariaDB Server releases automatically by [subscribing](https://lists.mariadb.org/postorius/lists/announce.lists.mariadb.org/) to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the [Distributions which Include MariaDB](/docs/general-resources/distributions-including-mariadb.md) page.
{% endhint %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

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