All pages
Powered by GitBook
1 of 1

Loading...

MariaDB 10.6.9 Release Notes

MariaDB 10.6.9 is a Stable (GA) release of MariaDB Community Server 10.6, released on 2022-08-15

Download Release Notes Changelog Overview of 10.6

Release date: 15 Aug 2022

MariaDB 10.6 is the current long-term maintenance stable series of MariaDB. It is an evolution of MariaDB 10.5 with several entirely new features.

MariaDB 10.6.8 is a Stable (GA) release.

Thanks, and enjoy MariaDB!

Regressions

Unfortunately, some bugs have been found post release, so this is updated to help avoid these issues if possible. All are fixed in .

  • — a crash shortly after a page merge (can be triggered by an UPDATE or DELETE or, say, rollback of an INSERT) can cause data corruption

  • — if InnoDB table had a fulltext index and only one new row was inserted between the last sync (performed asynchronously by a dedicated thread) and server shutdown, the fulltext index wasn't properly updated and became out of sync with the data. Before 10.6.9 this happened silently, in 10.6.9 an assertion crashed the server after detecting the inconsistency.

  • InnoDB Race condition between backups and crash recovery. last good version . Avoid by performing backups after crash recovery

Notable Items

InnoDB

  • InnoDB corruption due to lack of file locking ()

  • FULLTEXT search with apostrophe, and mandatory words ()

  • ALTER TABLE IMPORT TABLESPACE corrupts an encrypted table ()

  • ALTER TABLE wrong-result fix ()

Replication

  • is stored in binlog, so that CREATE TABLE on slave would always have the same effect as on master. ()

  • ER_SLAVE_INCIDENT error is specified now on slave to be seen with SHOW-SLAVE-STATUS ()

  • INCIDENT_EVENT is no longer binlogged when a being logged transaction can be safely rolledback ()

  • sequences related row-format events are made to correspond to binlog_row_image ()

Galera

  • updated to 26.4.12

  • Possible to write/update with read_only=ON and not a SUPER privilege ()

  • Node crashes with Transport endpoint is not connected mysqld got signal 6 ()

  • Galera4 not able to report proper wsrep_incoming_addresses ()

Optimizer

  • Server crash in JOIN_CACHE::free or in copy_fields ()

    • Queries that use DISTINCT and an always-constant function like COLLATION(aggegate_func(...)) could cause a server crash. Note that COLLATION() is a special function - its value is constant even if its argument is not costant.

  • Crash when using ANY predicand with redundant subquery in GROUP BY clause ()

  • MariaDB Server SEGV on INSERT .. SELECT ()

    • Certain queries in form "INSERT ... SELECT with_aggregate_or_window_func" could cause a crash.

  • restore_prev_nj_state() doesn't update cur_sj_inner_tables correctly ()

    • Subquery semi-join optimization could miss LooseScan or FirstMatch strategies for certain queries.

  • Wrong result with table elimination combined with not_null_range_scan ()

    • If one runs with optimizer_switch='not_null_range_scan=on' (which is not enabled by default), a query that does a join and has const tables could produce a wrong result.

OpenSSL

  • Backport OpenSSL-3.0 compatibility to 10.6 branch ()

JSON

  • : extract document fragment into JSON column ()

CONNECT

  • now supports with ()

mariadb Client

  • New option, -enable-cleartext-plugin. Option does not do anything, and is for MySQL-compatibility purposes only.

General

  • now also has a session scope, not only global ()

  • Crash in ()

  • ALTER TABLE ALGORITHM=NOCOPY does not work after upgrade ()

  • Server crash upon CREATE VIEW with unknown column in ON condition ()

Security

  • Fixes for the following :

Changelog

For a complete list of changes and bugfixes made in , with links to detailed information on each push, see the .

Contributors

For a full list of contributors to , see the .

Crash recovery fixes (MDEV-28668, MDEV-28731)

  • DDL crash recovery fixes (MDEV-28752, MDEV-28802, MDEV-28864, MDEV-28870, MDEV-28923, MDEV-28977)

  • Avoid crashes on corrupted data (MDEV-13542, MDEV-18519, MDEV-21098, MDEV-22388, MDEV-28457)

  • Possible reason of FLUSH BINARY LOGS hang is eliminated (MDEV-28948)

  • Fix out-of-order gtid error in the circular semisync setup (MDEV-28609)

  • Galera should replicate nextval()-related changes in sequences with INCREMENT <> 0, at least NOCACHE ones with engine=InnoDB (MDEV-27862)

  • Add support for OpenSSL 3.0 in Galera (MDEV-25949)

  • A query with a subuquery in this form could cause a crash:
  • Optimizer uses all partitions after upgrade to 10.3 (MDEV-28246)

    • For multi-table UPDATE or DELETE queries, the optimizer failed to apply Partition Pruning optimization for the table that is updated or deleted from.

  • Range optimizer regression for key IN (const, ....) (MDEV-25020)

    • The issue can be observed on MariaDB 10.5.9 and later versions which have the fix for MDEV-9750. That fix introduceds optimizer_max_sel_arg_weight.

    • If one sets optimizer_max_sel_arg_weight to a very high value or zero (which means "unlimited") and runs queries that produce heavy-weight graphs, they can observe a performance slowdown, e.g.:

  • As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 10.6 for Debian 10 "Buster" for ppc64el

  • Repositories for Ubuntu 22.04 and RHEL/Rocky 9 have been added in this release

  • CVE-2022-32081

  • CVE-2018-25032

  • CVE-2022-32091

  • CVE-2022-32084

  • CVE-2022-38791

  • MariaDB 10.6.10
    MDEV-29374
    MDEV-29342
    MDEV-29383
    MariaDB 10.6.8
    MDEV-28495
    MDEV-20797
    MDEV-28779
    MDEV-26294
    MDEV-29078
    MDEV-21087
    MDEV-21443
    MDEV-28487
    MDEV-28546
    MDEV-25068
    MDEV-20627
    MDEV-23809
    MDEV-29139
    MDEV-26427
    MDEV-28749
    MDEV-28858
    MDEV-28133
    MDEV-25875
    MDEV-27766
    MDEV-29225
    MDEV-29188
    MDEV-28727
    MDEV-29088
    CVE-2023-5157
    CVE-2022-32082
    CVE-2022-32089
    MariaDB 10.6.9
    changelog
    MariaDB 10.6.9
    MariaDB Foundation release announcement
    Galera
    ... ANY (SELECT ... GROUP BY (SELECT redundant_subselect_here)) ...
    table.keyXpartY [NOT] IN ( ... )

    The most recent release of MariaDB 10.6 is:

    MariaDB 10.6.24 Stable (GA) Download Now

    Alternate download from mariadb.org

    Be notified of new MariaDB Server releases automatically by subscribing 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 page.

    Distributions which Include MariaDB
    explicit_defaults_for_timestamp
    JSON_TABLE
    CONNECT Engine
    INSERT IGNORE
    Mysql Table type
    mariadb client
    explicit_defaults_for_timestamp
    JSON_EXTRACT
    security vulnerabilities

    This page is licensed: CC BY-SA / Gnu FDL