> 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.7/10.7.4.md).

# MariaDB 10.7.4 Release Notes

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

[Download 10.7.4](https://downloads.mariadb.org/mariadb/10.7.4/) | [Release Notes](/docs/release-notes/community-server/old-releases/10.7/10.7.4.md) | [Changelog](/docs/release-notes/community-server/changelogs/10.7/10.7.4.md) | [Overview of 10.7](/docs/release-notes/community-server/old-releases/10.7/what-is-mariadb-107.md)

**Release date:** 20 May 2022

[MariaDB 10.7](/docs/release-notes/community-server/old-releases/10.7/what-is-mariadb-107.md) is the current short-term maintenance stable series of MariaDB. It is an evolution of [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md) with several entirely new features.

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

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

Thanks, and enjoy MariaDB!

## Notable Items

### InnoDB

* [innodb\_disallow\_writes](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_disallow_writes) removed ([MDEV-25975](https://jira.mariadb.org/browse/MDEV-25975))
* InnoDB gap locking fixes ([MDEV-20605](https://jira.mariadb.org/browse/MDEV-20605), [MDEV-28422](https://jira.mariadb.org/browse/MDEV-28422))
* InnoDB performance improvements ([MDEV-27557](https://jira.mariadb.org/browse/MDEV-27557), [MDEV-28185](https://jira.mariadb.org/browse/MDEV-28185), [MDEV-27767](https://jira.mariadb.org/browse/MDEV-27767), [MDEV-28313](https://jira.mariadb.org/browse/MDEV-28313), [MDEV-28137](https://jira.mariadb.org/browse/MDEV-28137), [MDEV-28465](https://jira.mariadb.org/browse/MDEV-28465), [MDEV-26789](https://jira.mariadb.org/browse/MDEV-26789))
* Backup regression fixes ([MDEV-27919](https://jira.mariadb.org/browse/MDEV-27919))
* InnoDB portability: FreeBSD futexes ([MDEV-26476](https://jira.mariadb.org/browse/MDEV-26476)), POWER and s390x transactional memory ([MDEV-27956](https://jira.mariadb.org/browse/MDEV-27956))
* ALTER TABLE: Fixed bogus duplicate key errors ([MDEV-15250](https://jira.mariadb.org/browse/MDEV-15250))
* DDL and crash recovery fixes ([MDEV-27274](https://jira.mariadb.org/browse/MDEV-27274), [MDEV-27234](https://jira.mariadb.org/browse/MDEV-27234), [MDEV-27817](https://jira.mariadb.org/browse/MDEV-27817))
* Requests to recalculate [persistent statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/innodb-persistent-statistics.md) were sometimes lost ([MDEV-27805](https://jira.mariadb.org/browse/MDEV-27805))

### Replication

* Semisync-slave server recovery is refined to correctly rollback prepared transaction ([MDEV-28461](https://jira.mariadb.org/browse/MDEV-28461))
* Circular semisync setup endless event circulation is handled ([MDEV-27760](https://jira.mariadb.org/browse/MDEV-27760))
* Semisync-slave server recovery is extended to work on new server\_id server ([MDEV-27342](https://jira.mariadb.org/browse/MDEV-27342))
* Server initialization time gtid\_slave\_pos purge related reason of crashing in binlog background thread is removed ([MDEV-26473](https://jira.mariadb.org/browse/MDEV-26473))
* Shutdown of the semisync master can't produce inconsistent state anymore ([MDEV-11853](https://jira.mariadb.org/browse/MDEV-11853))
* Binlogs disappear after rsync IST ([MDEV-28583](https://jira.mariadb.org/browse/MDEV-28583))
* master crash is eliminated in compressed semisync replication protocol with packet counting amendment ([MDEV-25580](https://jira.mariadb.org/browse/MDEV-25580))
* OPTIMIZE on a sequence does not cause counterfactual ER\_BINLOG\_UNSAFE\_STATEMENT anymore ([MDEV-24617](https://jira.mariadb.org/browse/MDEV-24617))
* Automatically generated Gtid\_log\_list\_event is made to recognize within replication event group as a formal member ([MDEV-28550](https://jira.mariadb.org/browse/MDEV-28550))
* [Replication unsafe](/docs/server/ha-and-performance/standard-replication/unsafe-statements-for-statement-based-replication.md) [INSERT .. ON DUPLICATE KEY UPDATE](/docs/server/reference/sql-statements/data-manipulation/inserting-loading-data/insert-on-duplicate-key-update.md) using two or more unique key values at a time with [MIXED format binlogging](/docs/server/server-management/server-monitoring-logs/binary-log/binary-log-formats.md#mixed-logging) is corrected ([MDEV-28310](https://jira.mariadb.org/browse/MDEV-28310))
* [Replication unsafe](/docs/server/ha-and-performance/standard-replication/unsafe-statements-for-statement-based-replication.md) [INSERT .. ON DUPLICATE KEY UPDATE](/docs/server/reference/sql-statements/data-manipulation/inserting-loading-data/insert-on-duplicate-key-update.md) stops issuing unnecessary "Unsafe statement" with [MIXED binlog format](/docs/server/server-management/server-monitoring-logs/binary-log/binary-log-formats.md#mixed-logging) ([MDEV-21810](https://jira.mariadb.org/browse/MDEV-21810))
* Incomplete replication event groups are detected to error out by the slave IO thread ([MDEV-27697](https://jira.mariadb.org/browse/MDEV-27697))
* [mysqlbinlog --stop-never --raw](/docs/server/clients-and-utilities/logging-tools/mariadb-binlog/mariadb-binlog-options.md) now flushes the result file to disk after each processed event so the file can be listed with the actual bytes ([MDEV-14608](https://jira.mariadb.org/browse/MDEV-14608))

### Backup

* Incorrect binlogs after Galera SST using rsync and [MariaDB Backup](https://mariadb.com/docs/server/server-usage/backup-and-restore/mariadb-backup/) ([MDEV-27524](https://jira.mariadb.org/browse/MDEV-27524))
* [MariaDB Backup](https://mariadb.com/docs/server/server-usage/backup-and-restore/mariadb-backup/) does not detect multi-source replication slave ([MDEV-21037](https://jira.mariadb.org/browse/MDEV-21037))
* Useless warning "InnoDB: Allocated tablespace ID for , old maximum was 0" during backup stage ([MDEV-27343](https://jira.mariadb.org/browse/MDEV-27343))
* [MariaDB Backup](https://mariadb.com/docs/server/server-usage/backup-and-restore/mariadb-backup/) prepare fails for incrementals if a new schema is created after full backup is taken ([MDEV-28446](https://jira.mariadb.org/browse/MDEV-28446))

### Optimizer

* Query performance degradation in newer MariaDB versions when using many tables ([MDEV-28073](https://jira.mariadb.org/browse/MDEV-28073))
* A SEGV in Item\_field::used\_tables/update\_depend\_map\_for\_order... ([MDEV-26402](https://jira.mariadb.org/browse/MDEV-26402))
* ANALYZE FORMAT=JSON fields are incorrect for UNION ALL queries ([MDEV-27699](https://jira.mariadb.org/browse/MDEV-27699))
* Subquery in an UPDATE query uses full scan instead of range ([MDEV-22377](https://jira.mariadb.org/browse/MDEV-22377))
* Assertion \`item1->type() == Item::FIELD\_ITEM ... ([MDEV-19398](https://jira.mariadb.org/browse/MDEV-19398))
* Server crashes in Expression\_cache\_tracker::fetch\_current\_stats ([MDEV-28268](https://jira.mariadb.org/browse/MDEV-28268))
* MariaDB server crash at Item\_subselect::init\_expr\_cache\_tracker ([MDEV-26164](https://jira.mariadb.org/browse/MDEV-26164), [MDEV-26047](https://jira.mariadb.org/browse/MDEV-26047))
* Crash with union of my\_decimal type in ORDER BY clause ([MDEV-25994](https://jira.mariadb.org/browse/MDEV-25994))
* SIGSEGV in st\_join\_table::cleanup ([MDEV-24560](https://jira.mariadb.org/browse/MDEV-24560))
* Assertion \`!eliminated' failed in Item\_subselect::exec ([MDEV-28437](https://jira.mariadb.org/browse/MDEV-28437))

### Spider

The following variables have been deprecated:

* [spider\_crd\_type](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) and [spider\_crd\_weight](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28010](https://jira.mariadb.org/browse/MDEV-28010))
* [spider\_crd\_mode](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) and [spider\_sts\_mode](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28008](https://jira.mariadb.org/browse/MDEV-28008))
* [spider\_internal\_limit](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-27981](https://jira.mariadb.org/browse/MDEV-27981))
* [spider\_internal\_offset](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28297](https://jira.mariadb.org/browse/MDEV-28297))
* [spider\_store\_last\_crd](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_store\_last\_sts](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_load\_crd\_at\_startup](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) and [spider\_load\_sts\_at\_startup](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28007](https://jira.mariadb.org/browse/MDEV-28007))
* [spider\_udf\_ct\_bulk\_insert\_interval](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_udf\_ct\_bulk\_insert\_rows](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_udf\_ds\_bulk\_insert\_rows](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_udf\_ds\_table\_loop\_mode](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md), [spider\_udf\_ds\_use\_real\_table](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28005](https://jira.mariadb.org/browse/MDEV-28005))
* [spider\_use\_handler](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-27923](https://jira.mariadb.org/browse/MDEV-27923))
* [spider\_xa\_register\_mode](/docs/server/server-usage/storage-engines/spider/spider-system-variables.md) ([MDEV-28244](https://jira.mariadb.org/browse/MDEV-28244))

### General

* Server [error messages](/docs/server/reference/data-types/string-data-types/character-sets/internationalization-and-localization/setting-the-language-for-error-messages.md) are [now available in Chinese](/docs/server/reference/data-types/string-data-types/character-sets/internationalization-and-localization/setting-the-language-for-error-messages.md) ([MDEV-28227](https://jira.mariadb.org/browse/MDEV-28227))
* For RHEL/CentOS 7, non x86\_64 architectures are no longer supported upstream and so our support will also be dropped with this release
* Packages for Ubuntu 22.04 LTS "Jammy" and Fedora 36 are not yet available pending the resolution of [MDEV-28133](https://jira.mariadb.org/browse/MDEV-28133): Backport OpenSSL-3.0 compatibility to 10.6 branch
* As per the [MariaDB Deprecation Policy](/docs/release-notes/community-server/about/platform-deprecation-policy.md), this will be the last release of [MariaDB 10.7](/docs/release-notes/community-server/old-releases/10.7/what-is-mariadb-107.md) for Debian 9 "Stretch", Ubuntu 21.10 "Impish", and Fedora 34

### Security

* Fixes for the following [security vulnerabilities](/docs/server/security/cve.md):
  * [CVE-2021-46669](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46669)
  * [CVE-2022-27376](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27376)
  * [CVE-2022-27377](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27377)
  * [CVE-2022-27378](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27378)
  * [CVE-2022-27379](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27379)
  * [CVE-2022-27380](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27380)
  * [CVE-2022-27381](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27381)
  * [CVE-2022-27382](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27382)
  * [CVE-2022-27383](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27383)
  * [CVE-2022-27384](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27384)
  * [CVE-2022-27386](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27386)
  * [CVE-2022-27387](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27387)
  * [CVE-2022-27444](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27444)
  * [CVE-2022-27445](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27445)
  * [CVE-2022-27446](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27446)
  * [CVE-2022-27447](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27447)
  * [CVE-2022-27448](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27448)
  * [CVE-2022-27449](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27449)
  * [CVE-2022-27451](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27451)
  * [CVE-2022-27452](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27452)
  * [CVE-2022-27455](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27455)
  * [CVE-2022-27456](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27456)
  * [CVE-2022-27457](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27457)
  * [CVE-2022-27458](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27458)
  * [CVE-2022-32087](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32087)
  * [CVE-2022-32086](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32086)
  * [CVE-2022-32085](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32085)
  * [CVE-2022-32083](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32083)
  * [CVE-2022-32088](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32088)

## Changelog

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

## Contributors

For a full list of contributors to [MariaDB 10.7.4](/docs/release-notes/community-server/old-releases/10.7/10.7.4.md), see the [MariaDB Foundation release announcement](https://mariadb.org/mariadb-10-9-1-10-8-3-10-7-4-10-6-8-10-5-16-10-4-25-10-3-35-and-10-2-44-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" %}
