MariaDB 10.5.22 Release Notes
Release date: 14 Aug 2023
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.
Thanks, and enjoy MariaDB!
Notable Items
General
As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 10.5 for Ubuntu 18.04 LTS "Bionic"
mariadb-dump --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)
Crash after setting global session_track_system_variables to an invalid value (MDEV-25237)
ODKU of non-versioning column inserts history row (MDEV-23100)
UPDATE not working properly on transaction precise system versioned table (MDEV-25644)
Assertion ``const_item_cache == true'
failed inItem_func::fix_fields` (MDEV-31319)ANALYZE doesn't work with pushed derived tables (MDEV-29284)
get_partition_setis never executed inha_partition::multi_range_key_create_keydue to bitwise & with 0 constant (MDEV-24712)Client can crash the server with a
mysql_list_fields("view")call (MDEV-30159)I_S.parametersnot immediatly changed updated after procedure change (MDEV-31064)
Character Sets, Data Types
UBSAN: null pointer passed as argument 1, which is declared to never be null in
my_strnncoll_binaryonSELECT ... COUNTorGROUP_CONCAT(MDEV-28384)Possibly wrong result or Assertion
0' failed inItem_func_round::native_op` (MDEV-23838)Assertion ``(length % 4) == 0'
failed inmy_lengthsp_utf32onSELECT` (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 inItem_func_mul::int_opandItem_func_round::int_op(MDEV-30932)Assorted assertion failures in json_find_path with certain collations (MDEV-23187)
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 inbtr_node_ptr_max_size` (MDEV-19216)MODIFY COLUMNcan 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 infil_space_t::set_needs_flush()(MDEV-31442)fil_node_open_file()releasesfil_system.mutexallowing 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)
Foreign Key Constraint actions don't affect Virtual Column (MDEV-18114)
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_fieldand SIGSEGV inspider_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 boolJOIN_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 inapply_selectivity_for_table` (MDEV-31449)Inconsistency between MRR and SQL layer costs can cause poor query plan (MDEV-31479)
MAX_SEL_ARGmemory 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)
Server crash in
store_length, assertion failure inType_handler_string_result::sort_length(MDEV-31743)
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)
rpl.rpl_manual_change_index_fileoccasionally fails in BB with Result length mismatch (MDEV-30214)
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_replayfailed 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_abortedfailed (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)
Security
Fixes for the following security vulnerabilities:
CVE-
-``#
Changelog
For a complete list of changes made in MariaDB 10.5.22, with links to detailed information on each push, see the changelog.
Contributors
For a full list of contributors to MariaDB 10.5.22, see the MariaDB Foundation release announcement.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

