MariaDB 10.5.22 Release Notes

You are viewing an old version of this article. View the current version here.

Note: This page describes features in the source repository for MariaDB 10.5. There are currently no official packages or binaries available for download which contain the features. If you want to try out any of the new features described here you will need to get and compile the code yourself.

MariaDB 10.5 is a previous stable series of MariaDB, maintained until June 2025. It is an evolution of MariaDB 10.4 with several entirely new features not found anywhere else and with backported and reimplemented features from MySQL.

MariaDB 10.5.22 is a Stable (GA) release.

For an overview of MariaDB 10.5 see the What is MariaDB 10.5? page.

Thanks, and enjoy MariaDB!

Notable Items

General

  • As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 10.4 for Ubuntu 18.04 LTS "Bionic" and Ubuntu 22.10 "Kinetic"
  • mysqldump --force doesn't ignore error as it should (MDEV-31092)
  • 280 Bytes lost in mysys/array.c, mysys/hash.c, sql/sp.cc, sql/sp.cc, sql/item_create.cc, sql/item_create.cc, sql/sql_yacc.yy:10748 when using oracle sql_mode (MDEV-26186)
  • SQL/PL package body does not appear in I_S.ROUTINES.ROUTINE_DEFINITION (MDEV-30662)
  • Unexpected result when combining DISTINCT, subselect and LIMIT (MDEV-28285)
  • ROW variables do not get assigned from subselects (MDEV-31250)

Character Sets, Data Types

  • UBSAN: null pointer passed as argument 1, which is declared to never be null in my_strnncoll_binary on SELECT ... COUNT or GROUP_CONCAT (MDEV-28384)
  • Possibly wrong result or Assertion `0' failed in Item_func_round::native_op (MDEV-23838)
  • Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on SELECT (MDEV-29019)
  • UBSAN: negation of -X cannot be represented in type 'long long int'; cast to an unsigned type to negate this value to itself in Item_func_mul::int_op and Item_func_round::int_op (MDEV-30932)

InnoDB

  • innochecksum dies with Floating point exception (MDEV-31641)
  • Deadlock with 3 concurrent DELETEs by unique key (MDEV-10962)
  • innodb protection against dual processes accessing data insufficient (MDEV-31568)
  • Assertion `!strcmp(index->table->name.m_name, "SYS_FOREIGN") || !strcmp(index->table->name.m_name, "SYS_FOREIGN_COLS")' failed in btr_node_ptr_max_size (MDEV-19216)
  • MODIFY COLUMN can break FK constraints, and lead to unrestorable dumps (MDEV-31086)
  • Recovery or backup failure after innodb_undo_log_truncate=ON (MDEV-31487)
  • Assertion 'n & PENDING' failed in fil_space_t::set_needs_flush() (MDEV-31442)
  • fil_node_open_file() releases fil_system.mutex allowing other thread to open its file node (MDEV-31256)
  • Freed data pages are not always being scrubbed (MDEV-31253)
  • innodb_undo_log_truncate=ON fails to wait for purge of enough transaction history (MDEV-31355)
  • SET GLOBAL innodb_undo_log_truncate=ON does not free space when no undo logs exist (MDEV-31382)
  • innodb_read_ahead_threshold (linear read-ahead) does not work (MDEV-29967)
  • fil_ibd_create() may hijack the file handle of an old file (MDEV-31347)
  • innodb_undo_log_truncate=ON recovery results in a corrupted undo log (MDEV-31373)

Aria

  • Various crashes upon INSERT/UPDATE after changing Aria settings (MDEV-28054)
  • Various crashes/asserts/corruptions when Aria encryption is enabled/used, but the encryption plugin is not loaded (MDEV-26258)

Spider

  • SIGSEGV in spider_db_open_item_field and SIGSEGV in spider_db_print_item_type, on SELECT (MDEV-29447)
  • Spider variables that double as table params overriding mechanism is buggy (MDEV-31524)

Optimizer

  • Assertion `last_key_entry >= end_pos' failed in virtual bool JOIN_CACHE_HASHED::put_record() (MDEV-31348)
  • Problem with open ranges on prefix blobs keys (MDEV-31800)
  • Equal on two RANK window functions create wrong result (MDEV-20010)
  • Recursive CTE execution is interrupted without errors or warnings (MDEV-31214)
  • Assertion `s->table->opt_range_condition_rows <= s->found_records' failed in apply_selectivity_for_table (MDEV-31449)
  • Inconsistency between MRR and SQL layer costs can cause poor query plan (MDEV-31479)
  • MAX_SEL_ARG memory exhaustion is not visible in the optimizer trace (MDEV-30964)
  • SHOW TABLES not working properly with lower_case_table_names=2 (MDEV-30765)
  • Segfault on select query using index for group-by and filesort (MDEV-30143)

Replication

  • Parallel Slave SQL Thread Can Update Seconds_Behind_Master with Active Workers (MDEV-30619)
  • ALTER SEQUENCE ends up in optimistic parallel slave binlog out-of-order (MDEV-31503)
  • STOP SLAVE takes very long time on a busy system (MDEV-13915)
  • On slave XA COMMIT/XA ROLLBACK fail to return an error in read-only mode (MDEV-30978)

Galera

  • Node has been dropped from the cluster on Startup / Shutdown with async replica (MDEV-31413)
  • KILL QUERY maintains nodes data consistency but breaks GTID sequence (MDEV-31075)
  • MariaDB stuck on starting commit state (waiting on commit order critical section) (MDEV-29293)
  • Assertion state() == s_aborting || state() == s_must_replay failed in int wsrep::transaction::after_rollback() (MDEV-30013)
  • Assertion !wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row()) || thd->wsrep_cs().transaction().state() == wsrep::transaction::s_aborted failed (MDEV-30388)
  • Server crashes when wsrep_sst_donor and wsrep_cluster_address set to NULL (MDEV-28433)
  • Create temporary sequence can cause inconsistency (MDEV-31335)
  • Galera 4 unable to query cluster state if not primary component (MDEV-21479)

Changelog

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


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 Distributions which Include MariaDB page.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.