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

# MariaDB 10.5.5 Release Notes

{% hint style="info" %}

<p align="center">The most recent release of MariaDB 10.5 is:</p>

<h4 align="center"><a href="/pages/9W6JxPPj6M0eZxUmmE6T"><strong>MariaDB 10.5.29</strong></a> Stable (GA) <a href="https://mariadb.com/downloads/" class="button primary">Download Now</a></h4>

<p align="center"><a href="https://downloads.mariadb.org/mariadb/10.5.29/"><sub><em>Alternate download from mariadb.org</em></sub></a></p>
{% endhint %}

<a href="https://downloads.mariadb.org/mariadb/10.5.5/" class="button primary">Download</a> <a href="/pages/PLvGEMQ9VafMyWNE4yQI" class="button secondary">Release Notes</a> <a href="/pages/H8qaWchwB420Crfy4j4j" class="button secondary">Changelog</a> <a href="/pages/UMff9uEph8CgRLMkeKnM" class="button secondary">Overview of 10.5</a>

**Release date:** 10 Aug 2020

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

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

Thanks, and enjoy MariaDB!

## Notable Changes

### Deprecated variables

* [innodb\_thread\_concurrency](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_thread_concurrency)
* [innodb\_commit\_concurrency](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_commit_concurrency)
* [innodb\_replication\_delay](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_replication_delay)
* [innodb\_concurrency\_tickets](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_concurrency_tickets)
* [innodb\_thread\_sleep\_delay](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_thread_sleep_delay)
* [innodb\_adaptive\_max\_sleep\_delay](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_adaptive_max_sleep_delay) ([MDEV-23379](https://jira.mariadb.org/browse/MDEV-23379))

### InnoDB

* Fixed corruption in delete buffering ([MDEV-22497](https://jira.mariadb.org/browse/MDEV-22497))
* Fixed a deadlock in [FLUSH TABLES…FOR EXPORT](/docs/server/reference/sql-statements/administrative-sql-statements/flush-commands/flush-tables-for-export.md) ([MDEV-22890](https://jira.mariadb.org/browse/MDEV-22890))
* InnoDB data file extension is not crash-safe ([MDEV-23190](https://jira.mariadb.org/browse/MDEV-23190))
* Minor fixes related to encryption and FULLTEXT INDEX
* Dropping the adaptive hash index may cause DDL to lock up InnoDB ([MDEV-22456](https://jira.mariadb.org/browse/MDEV-22456))
* [innodb\_log\_optimize\_ddl=OFF](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_log_optimize_ddl) is not crash safe ([MDEV-21347](https://jira.mariadb.org/browse/MDEV-21347))
* Mariadb service won't shutdown when it's running and the OS datetime updated backwards ([MDEV-17481](https://jira.mariadb.org/browse/MDEV-17481))
* Doublewrite recovery can corrupt data pages ([MDEV-11799](https://jira.mariadb.org/browse/MDEV-11799))
* Fixed race conditions related to buffer pool resizing
* ALTER TABLE fixes ([MDEV-22637](https://jira.mariadb.org/browse/MDEV-22637), [MDEV-23244](https://jira.mariadb.org/browse/MDEV-23244), [MDEV-22988](https://jira.mariadb.org/browse/MDEV-22988), [MDEV-23295](https://jira.mariadb.org/browse/MDEV-23295), [MDEV-22771](https://jira.mariadb.org/browse/MDEV-22771), [MDEV-22811](https://jira.mariadb.org/browse/MDEV-22811), [MDEV-22899](https://jira.mariadb.org/browse/MDEV-22899))
* Slow InnoDB shutdown on large instance ([MDEV-22778](https://jira.mariadb.org/browse/MDEV-22778))
* Fixes to performance regressions introduced in [MariaDB 10.5.4](/docs/release-notes/community-server/old-releases/10.5/10.5.4.md) ([MDEV-23017](https://jira.mariadb.org/browse/MDEV-23017), [MDEV-23369](https://jira.mariadb.org/browse/MDEV-23369), [MDEV-23410](https://jira.mariadb.org/browse/MDEV-23410))
* Performance improvements ([MDEV-22110](https://jira.mariadb.org/browse/MDEV-22110), [MDEV-22930](https://jira.mariadb.org/browse/MDEV-22930), [MDEV-23379](https://jira.mariadb.org/browse/MDEV-23379), [MDEV-22778](https://jira.mariadb.org/browse/MDEV-22778))
* Correctly implemented the scrubbing of freed pages ([MDEV-8139](https://jira.mariadb.org/browse/MDEV-8139))
* Crash recovery fixes ([MDEV-21347](https://jira.mariadb.org/browse/MDEV-21347), [MDEV-23190](https://jira.mariadb.org/browse/MDEV-23190), [MDEV-11799](https://jira.mariadb.org/browse/MDEV-11799))

### Replication

* Make the binlog dump thread to log into errorlog a requested GTID position ([MDEV-20428](https://jira.mariadb.org/browse/MDEV-20428))
* Fix stop of the optimistic parallel slave at requested START-SLAVE-UNTIL position ([MDEV-15152](https://jira.mariadb.org/browse/MDEV-15152))
* Properly handle `RESET MASTER TO` value, when the value exceeds the max allowed `2147483647` ([MDEV-22451](https://jira.mariadb.org/browse/MDEV-22451))
* Correct 'relay-log.info' updating by concurrent parallel workers ([MDEV-22806](https://jira.mariadb.org/browse/MDEV-22806))
* Eliminate deadlock involving parallel workers, `STOP SLAVE` and `FLUSH TABLES WITH READ LOCK` ([MDEV-23089](https://jira.mariadb.org/browse/MDEV-23089))
* Correct master-slave automatic reconnection by slave to always pass through all steps of the initial connect. Specifically, do not skip master notification about slave binlog checksum awareness ([MDEV-14203](https://jira.mariadb.org/browse/MDEV-14203))
* Refine mysqlbinlog output to print out `START TRANSACTION` at `Gtid_log_event` processing which satisfies clients that submit the output with `sql_mode=oracle` ([MDEV-23108](https://jira.mariadb.org/browse/MDEV-23108))
* Replication aborts with `ER_SLAVE_CONVERSION_FAILED` upon `CREATE ... SELECT` in ORACLE mode ([MDEV-19632](https://jira.mariadb.org/browse/MDEV-19632))

### Optimizer

* Improve Protocol performance for numeric data by avoiding unnecessary character string conversions ([MDEV-23162](https://jira.mariadb.org/browse/MDEV-23162))
* ALTER TABLE ... ANALYZE PARTITION ... with EITS reads and locks all rows ... ([MDEV-21472](https://jira.mariadb.org/browse/MDEV-21472))
* Print ranges in the optimizer trace created for non-indexed columns when [optimizer\_use\_condition\_selectivity >2](/docs/server/server-management/variables-and-modes/server-system-variables.md#optimizer_use_condition_selectivity) Now the optimizer trace shows the ranges constructed while getting estimates from EITS ([MDEV-22665](https://jira.mariadb.org/browse/MDEV-22665))
* `LATERAL DERIVED` is not clearly visible in [EXPLAIN FORMAT=JSON](/docs/server/reference/sql-statements/administrative-sql-statements/analyze-and-explain-statements/explain-format-json.md), make `LATERAL DERIVED` tables visible in `EXPLAIN FORMAT=JSON` output ([MDEV-17568](https://jira.mariadb.org/browse/MDEV-17568))
* Crash on [WITH RECURSIVE](/docs/server/reference/sql-statements/data-manipulation/selecting-data/common-table-expressions/with.md) large query ([MDEV-22748](https://jira.mariadb.org/browse/MDEV-22748))
* Crash with Prepared Statement with a '?' parameter inside a re-used CTE ([MDEV-22779](https://jira.mariadb.org/browse/MDEV-22779))

### Other

* [div\_precision\_increment](/docs/server/server-management/variables-and-modes/server-system-variables.md#div_precision_increment) is now taken into account for all intermediate calculations. Previously results could be unpredictable. Note that this means results will have a lower precision in some cases - see [div\_precision\_increment](/docs/server/server-management/variables-and-modes/server-system-variables.md#div_precision_increment) ([MDEV-19232](https://jira.mariadb.org/browse/MDEV-19232))
* [mariadb\_schema](/docs/server/reference/sql-structure/sql-language-structure/schema-qualifiers.md) data type qualifier allowing MariaDB native date types in an SQL\_MODE that has conflicting data type translations.
* MariaDB could crash after changing the query\_cache size ([MDEV-5924](https://jira.mariadb.org/browse/MDEV-5924))
* Errors and SIGSEGV on CREATE TABLE w/ various charsets ([MDEV-22111](https://jira.mariadb.org/browse/MDEV-22111))
* Crash in `CREATE TABLE AS SELECT` when the precision of returning type = 0 ([MDEV-22502](https://jira.mariadb.org/browse/MDEV-22502))
* XA: Reject DDL operations between PREPARE and COMMIT ([MDEV-22420](https://jira.mariadb.org/browse/MDEV-22420))
* Stop `mariadb-backup --prepare` on errors during innodb redo log applying ([MDEV-22354](https://jira.mariadb.org/browse/MDEV-22354))
* Server crashes in `mysql_alter_table` upon adding a non-null date column under `NO_ZERO_DATE` with `ALGORITHM=INPLACE` ([MDEV-18042](https://jira.mariadb.org/browse/MDEV-18042))
* Can't uninstall plugin if the library file doesn't exist ([MDEV-21258](https://jira.mariadb.org/browse/MDEV-21258))
* mariadb-backup parameter cleanup ([MDEV-18215](https://jira.mariadb.org/browse/MDEV-18215), [MDEV-21298](https://jira.mariadb.org/browse/MDEV-21298), [MDEV-21301](https://jira.mariadb.org/browse/MDEV-21301), [MDEV-22894](https://jira.mariadb.org/browse/MDEV-22894))
* Rounding functions return wrong datatype ([MDEV-23366](https://jira.mariadb.org/browse/MDEV-23366), [MDEV-23367](https://jira.mariadb.org/browse/MDEV-23367), [MDEV-23368](https://jira.mariadb.org/browse/MDEV-23368), [MDEV-23350](https://jira.mariadb.org/browse/MDEV-23350), [MDEV-23351](https://jira.mariadb.org/browse/MDEV-23351), [MDEV-23337](https://jira.mariadb.org/browse/MDEV-23337), [MDEV-23323](https://jira.mariadb.org/browse/MDEV-23323))
* Create `mariadb.sys` user on each update even is the user is not needed ([MDEV-23102](https://jira.mariadb.org/browse/MDEV-23102))
* [INFORMATION\_SCHEMA.INNODB\_TABLESPACES\_ENCRYPTION](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_tablespaces_encryption-table.md) required SUPER instead PROCESS privilege ([MDEV-23003](https://jira.mariadb.org/browse/MDEV-23003))
* Reinforce DDL operation rejection after XA PREPARE ([MDEV-22420](https://jira.mariadb.org/browse/MDEV-22420))
* 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.5](/docs/release-notes/community-server/old-releases/10.5/what-is-mariadb-105.md) for Ubuntu 19.10 Eoan and Fedora 30
* Fixes for the following [security vulnerabilities](/docs/server/security/cve.md):
  * [CVE-2021-2022](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2022)

## Changelog

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

## Contributors

For a full list of contributors to [MariaDB 10.5.5](/docs/release-notes/community-server/old-releases/10.5/10.5.5.md), see the [MariaDB Foundation release announcement](https://mariadb.org/mariadb-10-5-5-10-4-14-10-3-24-10-2-33-and-10-1-46-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" %}
