All pages
Powered by GitBook
1 of 9

Release Notes - MariaDB 11.0 Series

Release notes for MariaDB 11.0 series

MariaDB 11.0 Changes & Improvements

MariaDB 11.0 is no longer maintained. Please use a more recent release.

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

MariaDB 11.0 is a short-term release series, and was maintained until June 2024.

Upgrading

  • See Upgrading Between Major MariaDB Versions and Upgrading from MariaDB 10.11 to MariaDB 11.0.

New Features & Improvements

Functions

  • Given a time in picoseconds, the new function FORMAT_PICO_TIME returns a human-readable time value and unit indicator (MDEV-19629)

Optimizer

  • Major improvements to the Optimizer. See The Optimizer Cost Model from MariaDB 11.0.

InnoDB

  • The InnoDB Change Buffer has been removed (MDEV-29694)

Variables

  • For a list of all new variables, see System Variables Added in MariaDB 11.0 and Status Variables Added in MariaDB 11.0.

  • The default value for innodb_undo_tablespaces has been changed from 0 to 3 (MDEV-29986)

  • The following variables have been deprecated:

    • innodb_defragment

    • innodb_defragment_n_pages

    • innodb_defragment_stats_accuracy

    • innodb_defragment_fill_factor_n_recs

    • innodb_defragment_fill_factor

    • innodb_defragment_frequency

    • innodb_file_per_table

    • innodb_flush_method

  • The following deprecated variables have been removed:

    • innodb_change_buffer_max_size

    • innodb_change_buffering

Security Vulnerabilities Fixed in MariaDB 11.0

For a complete list of security vulnerabilities (CVEs) fixed across all versions of MariaDB, see the Security Vulnerabilities Fixed in MariaDB page.

  • CVE-2024-21096: MariaDB 11.0.6

  • CVE-2023-22084: MariaDB 11.0.4

List of All MariaDB 11.0 Releases

Date
Release
Status
Release Notes
Changelog

16 May 2024

MariaDB 11.0.6

Stable (GA)

Release Notes

Changelog

7 Feb 2024

MariaDB 11.0.5

Stable (GA)

Release Notes

Changelog

13 Nov 2023

MariaDB 11.0.4

Stable (GA)

Release Notes

Changelog

14 Aug 2023

MariaDB 11.0.3

Stable (GA)

Release Notes

Changelog

6 Jun 2023

MariaDB 11.0.2

Stable (GA)

Release Notes

Changelog

22 Feb 2023

MariaDB 11.0.1

RC (Release Candidate)

Release Notes

Changelog

27 Dec 2022

MariaDB 11.0.0

Alpha

Release Notes

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.

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

MariaDB 11.0.6 Release Notes

DownloadRelease NotesChangelogOverview of 11.0

Alternate download from mariadb.org

Release date: 16 May 2024

MariaDB 11.0 is a current short-term stable series of MariaDB and will be maintained until June 2024. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.6 is a Stable (GA) release.

MariaDB 11.0.6 is the last release of the MariaDB 11.0 release series.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

From this version, the mariadb-dump tool adds a new sandbox command to the top of every dump file. This command cannot be interpreted by MariaDB command line client versions that do not have the sandbox command, or by MySQL command line clients, and an error will be generated in these clients. Other methods of importing the dump will work not have this issue.

Storage Engines

InnoDB

  • Introduce the innodb_log_spin_wait_delay system variable to address excessive context switching caused by log_sys.lsn_lock (observed on write-intensive workloads on NUMA systems) (MDEV-33515)

  • Fix InnoDB holding shared dict_sys.latch while waiting for FOREIGN KEY child table lock on DDL (MDEV-32899)

  • Fix adaptive hash index corruption after ALTER TABLE…DISCARD TABLESPACE (MDEV-33400)

  • Server no longer aborts while altering an InnoDB statistics table (MDEV-33462)

  • Fix LeakSanitizer errors in rec_copy_prefix_to_buf (MDEV-33230)

  • Fix InnoDB fatal error: Clustered record field for column x not found (MDEV-33558)

  • Fix InnoDB hang when temporarily running out of buffer pool (MDEV-33613)

  • Fix alter operation hang when encryption thread works on the same tablespace (MDEV-33770)

  • Fix MariaDB segfault on rowid filter query involving generated column (MDEV-33795)

  • Fix discard/import tablespace, restart, index corruption (MDEV-33512)

  • Fix server hang on DROP INDEX or RENAME INDEX (MDEV-33993)

  • Fix mariadb-backup --backup hang (MDEV-33669)

  • Fix server hang caused by InnoDB change buffer (MDEV-33543)

  • Fix assertion failures upon adding a too long key to table with COMPRESSED row format (MDEV-31161)

  • IMPORT TABLESPACE no longer fails with column count or index count mismatch (MDEV-30655)

  • Fix alter table corruption while applying the modification log (MDEV-19044)

  • Fix inconsistent behaviors of UPDATE under RU & RC isolation level (MDEV-26643)

  • Fix weird SELECT view when a record is modified to the same value by two transactions (MDEV-26642)

  • Fix inconsistent read and write, which use the same predicate (WHERE clause) (MDEV-29565)

  • Fix inconsistent SELECT view when modifying a record added by another transaction (MDEV-26671)

  • Fix weird read view after ROLLBACK of other transactions (MDEV-33802)

  • Read only server no longer throws error when running a create temporary table as select statement (MDEV-33889)

  • Change buffer index no longer fails to delete the records (MDEV-32489)

  • Fix InnoDB include OS error information when failing to write to iblogfile0 (MDEV-33397)

  • Fix phantom rows caused by UPDATE of PRIMARY KEY (MDEV-32898)

    • New system variable, innodb_snapshot_isolation

  • In-place migration from MySQL 5.7 no longer causes invalid AUTO_INCREMENT values (MDEV-33277)

  • Fix InnoDB log corruption before upgrading it on startup (MDEV-32445)

  • Table no longer gets rebuilt with ALTER TABLE ADD COLUMN (MDEV-33214)

Aria

  • Fixed that internal temporary tables did not wait for freed disk space, and related issues (MDEV-33813)

Federated

  • Fix wrong result on 2nd execution of prepared statement for query with derived table (MDEV-31361)

Spider

  • Improve Spider performance by pushing down TIMESTAMPDIFF function (MDEV-28992) and CASE statement (MDEV-28993) to data nodes

  • Fix server crash when deleting partitions from a table with spider engine (MDEV-33731)

  • SPIDER plugin initialization no longer fails at 'create table if not exists mysql.spider_tables ... with 'Specified key was too long; max key length is 1000 bytes', Warning: Memory not freed: 10720 (MDEV-33242)

  • Fix spider plugin init failure with no_zero_date sql_mode (MDEV-33494)

  • Fix sql plugin init failure with traditional sql_mode (MDEV-33584)

  • Fix parsing failure on valid left join select by translating the on expression to () (MDEV-33679)

  • Fix Spider: ERROR 12710 (HY000): Invalid information from remote table when using MariaDB 10.5 local and MariaDB 10.6 remote (MDEV-33777)

  • Fix bug where Spider variables were not available if Spider was loaded upon server startup (MDEV-33441)

Backup

  • Port backup features from Enterprise Server. This adds support for BACKUP STAGE to MariaDB Backup, and obsoletes the no-backup-locks and rysnc options (MDEV-32932)

  • MariaDB Backup now preserves innodb_encrypt_tables (MDEV-33334)

  • Fix MariaDB Backup problem on older mariadb (opendir(NULL)) caused by MDEV-30968 (MDEV-31251)

  • Fix mariadb-backup --backup FATAL ERROR: ... Can't open datafile cool_down/t3 (MDEV-33011)

  • mariadb-backup --backup now includes retry logic for undo tablespaces (MDEV-33980)

  • Fix crash recovery in mariadb-backup --prepare due to insufficient innodb_log_file_size (MDEV-33540)

  • Fix crash in mariadb-backup --prepare --export after --prepare (MDEV-33023)

  • MariaDB Backup now considers O/S user when --user option is omitted (MDEV-32893)

Character Sets, Data Types

  • Fixed improper application of ORDER BY COLLATE to non-character columns (MDEV-33318)

  • Default charset now works with PHP MySQLi extension (MDEV-32975)

  • Fixed Bad SEPARATOR value in GROUP_CONCAT on character set conversion (MDEV-33772)

  • Fixed out of range error in AVG(YEAR(datetime)) due to a wrong data type (MDEV-33496)

  • Fixed GREATEST() and LEAST() problems with NULLs (MDEV-21034)

JSON

  • View created via JSON_ARRAYAGG now returns correct json object (MDEV-30646)

  • JSON_TYPE now detects the type of String Values and correctly returns Date/DateTime values (MDEV-19487)

  • JSON_REMOVE no longer returns NULL on valid arguments (MDEV-22141)

  • JSON_EXTRACT no longer returns multiple values for same path (MDEV-32287)

Encryption, TLS, SSL

  • WolfSSL's math is unnecessarily slow (MDEV-33482)

Optimization & Tuning

  • Server crashes in JOIN_CACHE::write_record_data upon EXPLAIN with subqueries and constant tables (MDEV-21102)

  • Wrong result with cross Join given join order (MDEV-30975)

  • Wrong warnings on 2-nd execution of PS for query with GROUP_CONCAT (MDEV-31276)

  • Wrong result with semi-join and splittable derived table (MDEV-23878)

  • Optimizer choosing incorrect index in 10.6, 10.5 but not in 10.4 (MDEV-33306)

  • Aggregation functions fail to leverage uniqueness property (MDEV-30660)

  • Partitioning is broken on big endian architectures (MDEV-33623)

Plugins

  • The audit plugin now reports the user and host in all cases (MDEV-33393)

Replication

  • --gtid-ignore-duplicate can double-apply event in case of parallel replication retry (MDEV-33475)

  • Deadlock kill of XA PREPARE can break replication / rpl.rpl_parallel_multi_domain_xa sporadic failure (MDEV-34042)

  • mysql_manager_submit Segfault at Startup Still Possible During Recovery (MDEV-33799)

  • Server crash in Rows_log_event::update_sequence upon replaying binary log (MDEV-31779)

  • Slave crashed:reload_acl_and_cache during shutdown (MDEV-30260)

  • Rpl_semi_sync_slave_status is ON When Replication Is Not Configured (MDEV-33546)

  • When binlog_annotate_row_events on , event of binlog file is truncated (MDEV-9179)

  • Add more warnings to be able to better diagnose network issues (MDEV-33582)

  • Improve times and states in show processlist for replication (MDEV-33620)

  • Adapt parallel slave's round-robin scheduling to XA events (MDEV-33668)

  • release row locks for non-modified rows at XA PREPARE (MDEV-33454)

  • Semi-sync Wait Point AFTER_COMMIT Slow on Workloads with Heavy Concurrency (MDEV-33551)

Galera

  • Galera updated to 26.4.18

    • NOTE: Includes increasing the GCS protocol version, which prevents downgrades of individual nodes in the cluster as soon as all nodes have been updated

  • Disallow bulk insert operation during partition update statement (MDEV-33979)

  • GCF-1060 test hangs when BF-abort logic mistreats transactions with explicit MDL locks (MDEV-33136)

SQL, Data Definition, and Data Manipulation

  • Transportable Tablespaces no longer leave AUTO_INCREMENT in a mismatched state (MDEV-18288)

  • Fix wrong row targeted with "insert ... on duplicate" and "replace", leading to data corruption (MDEV-30046)

  • Fix incorrect DEFAULT expression evaluated in UPDATE (MDEV-33790)

  • Fix server crash when UPDATE statement with duplicate key is run after setting a low thread_stack (MDEV-33622)

  • Fix incorrect handling of UPDATE in PS mode when a table's column declared as NOT NULL (MDEV-33549)

  • Fix crash in EXECUTE IMMEDIATE 'CREATE OR REPLACE TABLE t1 (a INT DEFAULT ?)' USING DEFAULT (MDEV-15703)

  • Fix wrong result on 2nd execution of PS to select from view using derived (MDEV-31277)

  • Fix wrong warnings on 2nd execution of PS for query with GROUP_CONCAT (MDEV-31276)

  • TIMESTAMP value of '1970-01-01 00:00:00' can no longer be indirectly inserted in strict mode (MDEV-34088)

  • Fix out of range error in AVG(YEAR(datetime)) due to a wrong data type (MDEV-33496)

  • Fix zero datetime reinterpreting as '1970-01-01 00:00:00' on field_datetime=field_timestamp (MDEV-34069)

  • unix_timestamp(coalesce(timestamp_column)) no longer returns NULL on '1970-01-01 00:00:00.000001' (MDEV-34061)

  • Fix crash using UDF in WHERE clause of VIEW (MDEV-24507)

  • Fix update for portion changes autoincrement key in period table (MDEV-25370)

  • Fix SIGABRT resulting from CREATE TABLE with generated column and RLIKE (MDEV-21058)

Platforms & Packaging

  • MariaDB-client community can't be installed in red hat ubi9 (MDEV-32791)

General

Scripts & Clients

  • It's now possible to disable system commands with the mariadb --sandbox option. (MDEV-21778)

  • mariadb-dump now exports the data with sandbox mode enable, so that the mariadb client will not execute potentially dangerous cli commands.(MDEV-33727)

  • mariadb-dump commands such as mariadb-dump --dump-slave=2 --master-data=2 now record both positions (MDEV-4827)

  • Loading time zones now works with alter_algorithm INPLACE (MDEV-33044)

Server

  • Moving from MariaDB 10.5 to 10.6 mysql_upgrade is not updating some system tables (MDEV-33726)

  • Original IP not shown in network related error messages when proxy_protocol is in use (MDEV-33506)

  • Server incorrectly describes known variables as UNKNOWN if invalid values are specified at startup (MDEV-33469)

  • update case insensitive (large) unique key with insensitive change of value - duplicate key (MDEV-29345)

  • MariaDB will abort server startup if it finds an invalid parameter, but won't check for other invalid params (MDEV-26923)

  • Slowdown when running nested statement with many partitions (MDEV-33502)

Security

  • Fixes for the following security vulnerabilities:

    • CVE-2024-21096

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.6, see the MariaDB Foundation release announcement.

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.

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

MariaDB 11.0.5 Release Notes

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

Download 11.0.5Release NotesChangelogOverview of 11.0

Release date: 7 Feb 2024

MariaDB 11.0 is a current short-term stable series of MariaDB and will be maintained until June 2024. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.5 is a Stable (GA) release.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

  • Windows packages were delayed but have now been added to the downloads site

InnoDB

  • Unique hash key on column prefix is computed incorrectly (MDEV-29954)

  • Query from I_S.INNODB_SYS_INDEXES exceeding LIMIT ROWS EXAMINED causes ER_UNKNOWN_ERROR and LeakSanitizer errors in rec_copy_prefix_to_buf_old (MDEV-28613)

  • Assertion ``0'failed inrow_sel_convert_mysql_key_to_innobase upon UPDATE` using a partial-field key prefix in search (MDEV-21245)

  • Assertion failure on REPLACE on ROW_FORMAT=COMPRESSED table (MDEV-31574)

  • Crash emitting "Unsupported meta-data version number" error message (MDEV-29972)

  • LeakSanitizer errors in mem_heap_create_block_func upon query from I_S.INNODB_SYS_TABLES with LIMIT ROWS EXAMINED (MDEV-32890)

  • Inplace alter rebuild increases file size (MDEV-26740)

  • BLOB corruption on UPDATE of PRIMARY KEY with FOREIGN KEY (MDEV-31441)

  • GNU libc posix_fallocate() may be extremely slow (MDEV-32268)

  • InnoDB wrong error message (MDEV-32833)

  • Assertion failure on ALTER TABLE…PAGE_COMPRESSED=1 (MDEV-31000)

  • InnoDB after ALTER TABLE…IMPORT TABLESPACE may not be crash safe (MDEV-32269)

  • InnoDB fails to restore tablespace first page from doublewrite buffer when page is empty (MDEV-32968)

  • innodb_fast_shutdown=0 hang after incomplete startup (MDEV-32798)

  • innodb_undo_log_truncate=ON prevents fast shutdown (MDEV-33062)

  • Adaptive flush recommendation ignores dirty ratio and checkpoint age (MDEV-31939)

  • gcol.gcol_purge contaminates further execution of innodb.gap_locks (MDEV-28682)

  • LPAD in vcol created in ORACLE mode makes table corrupted in non-ORACLE (MDEV-27744)

  • Adaptive flushing is still not getting invoked in 10.5.11 (MDEV-26055)

  • History list is not shrunk unless there is a pause in the workload (MDEV-33213)

  • path separator near ib_buffer_pool incorrect (MDEV-32983)

  • Deadlock between buf_page_get_zip() and buf_pool_t::corrupted_evict() on InnoDB ROW_FORMAT=COMPRESSED table corruption (MDEV-32371)

  • Empty INSERT crashes with innodb_force_recovery=6 or innodb_read_only=ON (MDEV-31861)

  • Assertion ``end_lsn == page_lsn'failed inrecv_recover_page` (MDEV-33137)

  • Some calls to buf_read_ahead_linear() seem to be useless (MDEV-32068)

  • Opening all .ibd files on InnoDB startup can be slow (MDEV-32027)

  • InnoDB LRU flushing does not run before running out of buffer pool (MDEV-33053)

  • innodb_undo_log_truncate=ON is blocking page writes (MDEV-33112)

Backup

  • mariadb-backup has wrong or missing plugin-dir default? (MDEV-29110)

  • mariadb-backup fails when innodb_max_dirty_pages_pct contains a fraction (is not an integer) (MDEV-20286)

  • Missing required privilege CONNECTION ADMIN (MDEV-33006)

  • If tables are frequently created, renamed, dropped, a backup cannot be restored (MDEV-32939)

  • BACKUP LOCKS on table to be accessible to those with database LOCK TABLES privileges (MDEV-28367)

JSON

  • Wrong function name in ER_JSON_PATH_NO_WILDCARD error message for JSON_REPLACE (MDEV-24541)

  • JSON_VALID fail to validate integer zero in scientific notation (MDEV-32587)

  • ASAN errors in Item_func_json_contains_path::val_int upon PS execution (MDEV-32867)

  • mysql_json cannot be used on newly created table (MDEV-32235)

  • Problems with a stored function EMPTY() on upgrade to 10.6 (MDEV-31616)

Spider

  • Thread (10.6+) and server hangs (10.4/10.5) in 'Opening tables' (on optimized builds) and SIGABRT in safe_mutex_lock (on debug) on I_S read when using Spider (MDEV-29421)

  • SIGSEGV in spider_db_mbase::append_lock_tables on LOCK TABLES (MDEV-29963)

  • ASAN heap-use-after-free in spider_link_get_key on LOCK TABLES (MDEV-31357)

  • Crash when lateral derived is guaranteed to return no rows (MDEV-31279)

  • Bogus error executing PS for query using CTE with renaming of columns (MDEV-31995)

  • Spider: Valid LEFT JOIN results in ERROR 1064 (MDEV-26247)

  • Trying to lock uninitialized mutex or hang upon shutdown after using Spider with query_cache (MDEV-28739)

  • Spider tests failing in asan/valgrind builds (MDEV-32849)

  • Backport fixes to spider init bugs to 10.4-10.6 once they have SQL service (MDEV-29870)

  • Server crash with SIGSEGV or dynamic-stack-buffer-overflow in spider_db_mbase_util::append_table (MDEV-29163)

  • heap-use-after-free in ha_spider::lock_tables(), highly sporadic SIGSEGV in intern_close_table (MDEV-30014)

  • Syntax error upon query with subquery from Spider table (MDEV-30392)

  • Spider doesn't recognize semi JOIN (MDEV-31645)

  • MariaDB, SPIDER engine, usage of REGEXP (MDEV-32986)

  • Spider: variable spider_same_server_link not functioning correctly (MDEV-29718)

  • Spider fails to autodiscover structure (did in <=10.5) and reports ERROR 12500 (HY000): unknown (MDEV-33008)

  • Spider spawns unnecessarily many system threads for stats synchronization (MDEV-29020)

    • Defaults for spider_table_crd_thread_count and spider_table_sts_thread_count changed from 10 to 1

  • SIGSEGV in spider_db_delete_all_rows on TRUNCATE, UBSAN: member call on null pointer of type 'struct spider_db_handler' in spider_db_delete_all_rows (MDEV-33191)

  • mariadb-upgrade fails with 'System table spider_tables is different version' => Can't create database 'performance_schema' (MDEV-27103)

  • Spider: SIGSEGV in spider_db_direct_delete, SIGSEGV in spider_db_connect, ASAN: heap-use-after-free in spider_db_direct_delete (MDEV-28683)

  • No error for DROP TABLE and no warning for DROP TABLE IF EXISTS with absent table when Spider plugin is included (MDEV-30170)

  • ASAN errors in spider_conn_queue_and_merge_loop_check (MDEV-29002)

Optimizer

  • Crash caused by multi-table UPDATE over derived with hanging CTE (MDEV-28615)

  • Crash on query using CTE with the same name as a base table (MDEV-31657)

  • Crash with query using constant subquery as left part of IN subquery (MDEV-29362)

  • Incorrect result interceptor passed to mysql_explain_union() (MDEV-33165)

  • INSERT ... SELECT Does not produce an optimizer trace (MDEV-29298)

  • Add optimizer_adjust_secondary_key_costs variable to influence how costs for secondary keys are calculated. (MDEV-33118)

  • Unusable key notes do not get reported for some operations (MDEV-32958)

  • Unusable key notes report wrong predicates for > and >= (MDEV-32957)

Data Definition, Data Manipulation

  • ALTER SEQUENCE IF NOT EXISTS non_existing_seq Errors rather than note (MDEV-32795)

  • Unexpected ER_ERROR_ON_RENAME upon DROP non-existing FOREIGN KEY with ALGORITHM=COPY (MDEV-22230)

  • FOREIGN_KEY_CHECKS does not prevent non-copy alter from creating invalid FK structure (MDEV-29092)

  • Assertion !"wrong page type"'` or Assertion "wrong page type" == 0'failed ininnobase_instant_tryonALTER` (MDEV-18322)

  • Assertion (col.vers_sys_end()) upon inplace ALTER with virtual columns (MDEV-20545)

  • DELETE with ORDER BY and semijoin optimization causing crash (MDEV-32212)

  • Invalid expr in cleanup_session_expr() upon INSERT DELAYED (MDEV-29932)

  • SIGSEGV in my_decimal::operator= and Assertion 0'failed inItem_type_holder::val_decimal` on SELECT (MDEV-29070)

  • LONG UNIQUE does not work like unique key when using replace (MDEV-32837)

  • LONG UNIQUE gives error when used with REPLACE (MDEV-32839)

  • Backport MDEV-32532 to 10.6 (MDEV-32903)

  • Assertion ``0' failed in Item_type_holder::val_int` (MDEV-29494)

Character Sets, Data Types

  • InnoDB: CHAR+nopad does not work well (MDEV-26743)

  • CAST(AS UNSIGNED) fails with --view-protocol (MDEV-32645)

  • JSON_ARRAYAGG charset issue (MDEV-24784)

  • Server crash in my_decimal::operator= or unexpected ER_DUP_ENTRY upon comparison with INET6 and similar types (MDEV-32879)

Plugins

  • The SQL Error Log Plugin can optionally (when sql_error_log_with_db_and_thread_info is enabled) include the thread ID and database / table in its log (MDEV-27087). NULL is displayed if there is no database (MDEV-32906)

  • Backport SQL service, introduced by MDEV-19275 (MDEV-27595)

  • "plugin already loaded" should be a Warning, not an Error (MDEV-32041)

  • mariadb-upgrade should remove mysql.plugin entries for plugins that became bundled (MDEV-32043)

Galera

  • Node has been dropped from the cluster on Startup / Shutdown with async replica (MDEV-31413)

  • Inconsistency in Galera caused by ALTER being aborted before entering TOI mode (MDEV-32938)

  • Assertion ``total_length + thd->wsrep_sr().log_position() == saved_pos'failed in intwsrep_write_cache_inc(THD*, IO_CACHE*, size_t*)` (MDEV-28971)

  • wsrep_provider_options can be truncated on deep and long directory paths (MDEV-32634)

  • Server crashes in rpl_sql_thread_info::cached_charset_compare / wsrep_apply_events (MDEV-22232)

  • Galera crash when "create a table as select" (MDEV-27806)

  • Cluster is inconsistent after SAVEPOINT statement is rolled back (MDEV-32549)

  • WSREP GTID MODE is inconsistent (MDEV-31905)

  • IST "Donor does not know my secret" with ssl-mode=VERIFY_CA (MDEV-32344)

Replication

  • Server crashes in Item_func_binlog_gtid_pos::val_str / Binary_string::c_ptr_safe (MDEV-33045)

  • binlog corruption (/tmp no space left on device at the same moment) (MDEV-27436)

  • multi source replication filters breaking GTID semantic (MDEV-26632)

  • SHOW SLAVE STATUS Can Deadlock an Errored Slave (MDEV-10653)

  • main.rpl_mysqldump_slave Fails with "Master binlog wasn't deleted" Assertion (MDEV-32953)

  • rpl_seconds_behind_master_spike Sensitive to IO Thread Stop Position (MDEV-33327)

  • Binlog Checksum is Zeroed by Zlib if Part of Event Data is Empty (MDEV-33283)

  • "Read semi-sync reply magic number error" warnings on master (MDEV-32551)

  • Second Semi-sync Replica Can Hang at Connect Time (MDEV-32792)

  • Semi-sync ACKed Transaction can Timeout and Switch Off Semi-sync with Multiple Replicas (MDEV-32960)

  • Semi-Sync Ack_Receiver Thread Should Allow COM_QUIT Command (MDEV-32385)

General

  • As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 11.0 for Fedora 37, Ubuntu 23.04 "Lunar", and Windows Server 2019

  • s3_debug is now dynamic, and s3_protocol_version contains new options, and old options have been deprecated (MDEV-32884)

  • New OLD_MODE value, NO_NULL_COLLATION_IDS, a compatibility setting to support connectors (in particular MySQL Connector/NET) that give an exception when collation ids returned by SHOW COLLATION are NULL. It is automatically set when a MySQL Connector/NET connection is determined.

  • Upgrade HeidiSQL to 12.6.

  • Using two temporary tables in OPTIMIZE TABLE lead to crash (MDEV-31523)

  • REGEXP_REPLACE treats empty strings different than REPLACE in ORACLE mode (MDEV-29095)

  • CREATE UNIQUE INDEX fails with "ERROR 1286 (42000): Unknown storage engine 'partition'" (MDEV-21618)

  • Failure when executing PS for query using IN subquery (MDEV-32569)

  • Potential memory leak on execuing of create view statement (MDEV-32466)

  • Assertion failures (MDEV-32965)

  • Two JSON related tests running in PS mode fail on server built with -DWITH_PROTECT_STATEMENT_MEMROOT=YES (MDEV-32733)

  • Alter sequence 2nd ps fails while alter sequence 2nd time (no ps) succeeds (MDEV-33169)

  • Set TaskMax=inifinity in the MariaDB systemd unit (MDEV-30236)

  • Unreliable autocommit flag on connection creation (MDEV-32875)

  • A connection can control RAND() in following connection (MDEV-33148)

  • THD::rli_fake/rgi_fake not cleared on new connection (MDEV-32844)

  • Assertion failures in tdc_remove_table upon interrupted CREATE TABLE LIKE <sequence> (MDEV-20471)

  • Server crash in find_field_in_table (MDEV-32082)

  • LPAD in vcol created in ORACLE mode makes table corrupted in non-ORACLE (MDEV-27744)

  • Failure to call SP invoking another SP with parameter requiring type conversion (MDEV-33270)

  • The database part is not case sensitive in SP names (MDEV-33019)

  • EXCHANGE PARTITION with non-matching vcol expression segfault (MDEV-28127)

  • Wrong user in SET DEFAULT ROLE error (MDEV-26875)

  • quote(NULL) returns incorrect result in view ('NU' instead of 'NULL') (MDEV-28651)

  • mysql.slow_log reports incorrect start time (MDEV-11628)

  • Update federated table and column privileges (MDEV-32984)

  • Disable transparent huge pages after page buffers have been allocated (MDEV-33279)

  • Deprecate secure_auth=0 (MDEV-32617)

  • sys schema view session_ssl_status is empty (MDEV-32751)

  • Memory pressure (MDEV-24670)

Security

  • Fixes for the following security vulnerabilities:

    • CVE-`-```

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.5, see the MariaDB Foundation release announcement.

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.

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

MariaDB 11.0.4 Release Notes

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

Download 11.0.4Release NotesChangelogOverview of 11.0

Release date: 13 Nov 2023

MariaDB 11.0 is a current short-term stable series of MariaDB and will be maintained until June 2024. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.4 is a Stable (GA) release.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

InnoDB

  • DROP INDEX followed by CREATE INDEX may corrupt data (MDEV-32132)

  • ROW_FORMAT=COMPRESSED table: InnoDB: 2048 bytes should have been read. Only 0 bytes read. (MDEV-31875)

  • Server aborts during alter operation when table doesn't have foreign index (MDEV-32527)

  • row_merge_fts_doc_tokenize() handles FTS plugin parser inconsistently (MDEV-32578)

  • InnoDB: tried to purge non-delete-marked record of an index on a virtual column prefix (MDEV-30024)

  • lock_row_lock_current_waits counter in information_schema.innodb_metrics may become negative (MDEV-30658)

  • SET GLOBAL innodb_max_purge_lag_wait=… hangs if innodb_read_only=ON (MDEV-31813)

  • Auto-increment no longer works for explicit FTS_DOC_ID (MDEV-32017)

  • Assertion `pos < table->n_def' failed in dict_table_get_nth_col (MDEV-32337)

  • innochecksum man pages seem to be inconsistent with the binary (10.2.25) (MDEV-20583)

  • innodb_compression_algorithm=0 (none) increments Innodb_num_pages_page_compression_error (MDEV-30825)

  • wrong table name in innodb's "row too big" errors (MDEV-32128)

  • Optimize is_file_on_ssd() to speedup opening tablespaces on Windows (MDEV-32228)

  • Race condition between page write completion and log checkpoint (MDEV-32511)

  • After crash recovery, Checksum mismatch + Failing assertion: !i || prev_id + 1 == space_id, (MDEV-31851)

  • Deadlock due to log_free_check(), involving trx_purge_truncate_rseg_history() and trx_undo_assign_low() (MDEV-32049)

  • Write-ahead logging is broken for freed pages (MDEV-32552)

  • X-lock on supremum for prepared transaction for RR (MDEV-30165)

  • Assertion failures in log_sort_flush_list upon crash recovery (MDEV-32029)

  • Race condition between page write completion and log checkpoint (MDEV-32511)

  • Assertion `purge_sys.tail.trx_no <= purge_sys.rseg->last_trx_no()' (MDEV-30100)

  • Assertion `index->is_btree() || index->is_ibuf()' failed in btr_search_guess_on_hash (MDEV-30802)

  • InnoDB hang in buf_flush_wait_LRU_batch_end() (MDEV-32134)

  • InnoDB may hang when running out of buffer pool (MDEV-32588)

  • Corrupt index(es) on busy table when using FOREIGN KEY (MDEV-30531)

  • InnoDB Recovery doesn't display encryption message when no encryption configuration passed (MDEV-31098)

  • Wrong information about innodb_checksum_algorithm in the information_schema.SYSTEM_VARIABLES (MDEV-31473)

  • InnoDB may fail to recover after being killed in fil_delete_tablespace() (MDEV-31826)

  • Create separate tpool thread for async aio (MDEV-31095)

  • UNDO logs still growing for write-intensive workloads (MDEV-32050)

    • Increase the default for innodb_purge_batch_size from 300 to 1000 (MDEV-32050)

    • Deprecate innodb_purge_rseg_truncate_frequency.

    • The motivation for introducing this in MySQL seems to have been to avoid stalls due to freeing undo log pages or truncating undo log tablespaces. In MariaDB, innodb_undo_log_truncate=ON should be a much lighter operation because it will not involve any log checkpoint. (MDEV-32050)

  • Slow full index scan in 10.6 vs 10.5 for the (slow) I/O-bound case (MDEV-30986)

  • LOAD DATA into InnoDB w/partitions: huge performance loss, affected 10.6+ (MDEV-31835)

  • Disable read-ahead for temporary tablespace (MDEV-32145)

Optimizer

  • New optimizer_switch setting, cset_narrowing, to enable the Charset Narrowing Optimization (MDEV-32113)

  • Crash when HAVING in a correlated subquery references columns in the outer query (MDEV-29731)

  • Server crashes at TABLE::add_tmp_key (MDEV-32320)

  • Server crashes inside filesort at my_decimal::to_binary (MDEV-32324)

  • Assertion `bitmap_is_set(&m_part_info->read_partitions, m_part_spec.start_part)' failed in ha_partition::handle_ordered_index_scan (MDEV-24283)

  • Crash when searching for the best split of derived table (MDEV-32064)

  • Test case from opt_tvc.test fails with statement memory protection (MDEV-32225)

  • Significant slowdown for query with many outer joins (MDEV-32351)

  • test_if_skip_sort_order() should catch the join types JT_EQ_REF, JT_CONST and JT_SYSTEM and skip sort order for these (MDEV-32475)

  • jointable materialization subquery optimization ignoring errors, then failing ASSERT. (MDEV-31983)

  • Server crashes in JOIN::cleanup after erroneous query with view (MDEV-32164)

  • Prepared statement return wrong result (missing row) (MDEV-9938)

  • Assertion `range->rows >= s->found_records' failed in best_access_path (MDEV-32682)

Replication

  • rpl.rpl_parallel_temptable failure due to incorrect commit optimization of temptables (MDEV-10356)

  • Lock wait timeout with INSERT-SELECT, autoinc, and statement-based replication (MDEV-31482)

  • strings/ctype-ucs2.c:2336: my_vsnprintf_utf32: Assertion `(n % 4) == 0' failed in my_vsnprintf_utf32 on INSERT (MDEV-32249)

  • Assertion fails in MDL_context::acquire_lock upon parallel replication of CREATE SEQUENCE (MDEV-31792)

  • SHOW SLAVE STATUS Last_SQL_Errno Race Condition on Errored Slave Restart (MDEV-31177)

  • seconds_behind_master is inaccurate for Delayed replication (MDEV-32265)

  • detailize the semisync replication magic number error (MDEV-32365)

  • Parallel replication deadlock victim preference code errorneously removed (MDEV-31655)

  • Parallel replication lags because innobase_kill_query() may fail to interrupt a lock wait (MDEV-32096)

Galera

  • Galera updated to 26.4.16

  • Assertion `state() == s_executing || state() == s_prepared || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed. (MDEV-24912)

  • Assertion `state() == s_executing || state() == s_preparing || state() == s_prepared || state() == s_must_abort || state() == s_aborting || state() == s_cert_failed || state() == s_must_replay' failed (MDEV-31285)

  • wsrep_sst_mariadb-backup not working on FreeBSD (MDEV-31467)

  • Galera library 26.4.16 fails with every server version (MDEV-32024)

  • Galera node remains paused after interleaving FTWRLs (MDEV-32282)

  • Failed to insert streaming client (MDEV-32051)

  • When set at runtime, wsrep_sst_method accepts any value (MDEV-31470)

  • galera needs packaging script changes to successfully build (MDEV-32642)

  • replication breaks when using optimistic replication and replica is a galera node (MDEV-31833)

  • McAfee database vulnerability scan caused MariaDB crash with signal 6 (system abort) (MDEV-27004)

  • Assertion `mode_ == m_local || transaction_.is_streaming()' failed in int wsrep::client_state::bf_abort(wsrep::seqno) (MDEV-30217)

Data Definition

  • MariaDB crash on calling function (MDEV-23902)

  • ASAN errors in grn_obj_unlink / ha_mroonga::clear_indexes upon index operations (MDEV-31970)

  • vcol circular references lead to stack overflow (MDEV-31112)

  • OPTIMIZE TABLE crash (MDEV-28122)

  • Server crashes in Alter_info::add_stat_drop_index upon CREATE TABLE (MDEV-32449)

Scripts and Clients

  • mariadb-binlog -T/--table (mysqlbinlog) option (MDEV-25369)

  • mariadb-admin (mysqladmin) wrong error with simple_password_check (MDEV-22418)

  • mariadb-install-db shows warning on missing directory $pamtooldir/auth_pam_tool_dir (MDEV-32142)

  • main.mysql_client_test, main.mysql_client_test_comp failed on ASAN build with error: 5888, status: 23, errno: 2 (MDEV-19369)

  • mariadb-install-db (mysql_install_db) doesn't properly grant proxy privileges to all default root user accounts (MDEV-21194)

Tests

  • main.events_stress or events.events_stress fails with view-protocol (MDEV-31455)

  • main.delete_use_source fails (hangs) with view-protocol (MDEV-31457)

  • main.sum_distinct-big and main.merge-big fail with timeout with view-protocol (MDEV-31465)

  • main.secure_file_priv_win fails with 2nd execution PS protocol (MDEV-32023)

  • Windows : mtr output on is messed up with large MTR_PARALLEL (MDEV-32387)

  • main.mysql_client_test_comp failed in buildbot, error on exec (MDEV-16641)

  • main.order_by_pack_big fails with view-protocol (MDEV-31460)

  • mysql_install_db_win.test fails on second execution (MDEV-32232)

mariadb-backup

  • mariadb-backup full backup failed with InnoDB: Failing assertion: success in storage/innobase/fil/fil0fil.cc line 657 (MDEV-18200)

  • mbstream breaks page compression on XFS (MDEV-25734)

Character Sets, Data Types, Collations

  • Prefix keys for CHAR work differently for MyISAM vs InnoDB (MDEV-30048)

  • Inconsistent results of DISTINCT with NOPAD (MDEV-30050)

  • Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on INSERT (MDEV-28835)

  • Compressed varchar values lost on joins when sorting on columns from joined table(s) (MDEV-31724)

  • UBSAN shift exponent X is too large for 64-bit type 'long long int' in sql/field.cc (MDEV-32226)

  • Wrong bit encoding using COALESCE (MDEV-32244)

Spider

  • Spider UBSAN runtime error: applying non-zero offset x to null pointer in st_spider_param_string_parse::restore_delims (MDEV-31117)

  • Segfault when setting spider_delete_all_rows to 0 and delete all rows of a spider table, ASAN heap-use-after-free in spider_db_delete_all_rows (MDEV-31996)

  • ASAN errors in spider_fields::free_conn_holder or spider_create_group_by_handler (MDEV-28998)

  • ASAN: heap-buffer-overflow & stack-buffer-overflow in spider_db_mbase_row::append_to_str | SIGSEGV's in memmove_avx_unaligned_erms from memcpy in Binary_string::q_append, in Static_binary_string::q_append and my_strntoull10rnd_8bit | Unknown error 12801 (MDEV-29502)

General

  • binlog_do_db option breaks importing sql dumps (MDEV-29989)

  • Crashes in MDL_key::mdl_key_init with lower-case-table-names=2 (MDEV-32025)

  • getting error 'Illegal parameter data types row and bigint for operation '+' ' when using ITERATE in a FOR..DO (MDEV-32275)

  • Assertion `arena_for_set_stmt== 0' failed in LEX::set_arena_for_set_stmt upon SET STATEMENT (MDEV-17711)

  • main.mysqlcheck fails on ARM with ASAN use-after-poison in my_mb_wc_filename (MDEV-26494)

  • main.delayed fails with wrong error code or timeout when executed after main.deadlock_ftwrl (MDEV-27523)

  • Assertion failed: !pfs->m_idle || (state == PSI_SOCKET_STATE_ACTIVE) (MDEV-28561)

  • MyISAM wrong server status flags (MDEV-28820)

  • Server crashes in check_sequence_fields upon CREATE TABLE .. SEQUENCE=1 AS SELECT .. (MDEV-29771)

  • slow log Rows_examined out of range (MDEV-30820)

  • "rpm --setugids" breaks PAM authentication (MDEV-30904)

  • incorrect examined rows in case of stored function usage (MDEV-31742)

  • Compilation failing on MacOS (unknown warning option -Wno-unused-but-set-variable) (MDEV-31890)

  • Server crash upon inserting into Mroonga table with compressed column (MDEV-31966)

  • hash unique corrupts index on virtual blobs (MDEV-32012)

  • insert into an empty table fails with hash unique (MDEV-32015)

  • Valgrind/MSAN warnings in dynamic_column_update_move_left (MDEV-32140)

  • Memory leak showed in MDEV-6146 test suite (MDEV-32223)

  • Test from subselect.test fails with statement memory protection (MDEV-32245)

  • Memory leak when executing PS for query with IN subquery (MDEV-32369)

  • Allow the setting of Auto_increment on FK referenced columns (MDEV-32018)

  • mariadb-upgrade fails with sql_safe_updates = on (MDEV-29914)

  • Assertion `!(thd->server_status & (1U | 8192U))' failed in MDL_context::release_transactional_locks (MDEV-32541)

  • Information schema leaks table names and structure to unauthorized users (MDEV-32500)

  • Missing CHACHA20-POLY1305 support in WolfSSL (MDEV-31653)

  • incorrect error about cyclic reference about JSON type virtual column (MDEV-32586)

  • Disable TLS v1.0 and 1.1 for MariaDB (MDEV-31369)

  • Better indication of refusing to start because of ProtectHome (MDEV-25177)

  • Database upgrade fails: slow_log table (MDEV-27757)

  • myrocks_hotbackup.1 and test suite files installed when engine is disabled (MDEV-29993)

  • client_ed25519.dll isn't inluded for HeidiSQL. (MDEV-31315)

  • Assertion `!m_null_value' failed in int FixedBinTypeBundle::cmp_item_fbt::compare or in cmp_item_inet6::compare (MDEV-27207)

  • type_test.type_test_double fails with 'NUMERIC_SCALE NULL' (MDEV-22243)

  • LeakSanitizer errors in get_quick_select or Assertion `status_var.local_memory_used == 0 || !debug_assert_on_not_freed_memory' failed (MDEV-32476)

  • Update signal hander user info more compassion and correct url (MDEV-32535)

  • maria-install-db fails on MacOS (MDEV-31871)

  • MSAN / Valgrind errors in Item_func_like::get_mm_leaf upon query from partitioned table (MDEV-32388)

  • MSAN / Valgrind errors in Item_func_like::get_mm_leaf with temporal field (MDEV-32531)

  • ASAN errors in base_list_iterator::next / setup_table_map upon 2nd execution of PS (MDEV-32656)

  • safe_mutex: Found wrong usage of mutex 'LOCK_thd_data' and 'wait_mutex' (MDEV-32728)

Docker Official Images

  • Invert single and double quotes for sql command definitions in healthcheck.sh due to failure under sql_mode=ANSI_QUOTES - contribution by Dominik Häckel

  • healthcheck.sh --no-defaults behaviour was corrected - reported by Dominik Häckel

  • Added /docker-entrypoint-init.d for tar{,compression} from MariaDB Backup - instructions

  • Refactor docker_mariadb_init in the entrypoint for extending the MariaDB image

  • CIS failure due to world-writable directory /var/run/mysqld, added sticky bit - reported by @ollie1

  • Add PROXY privileges for root@MARIADB_ROOT_HOST - reported by Matthieu Gusmini

  • healthcheck.sh added --galera_online test, to match what the mariadb-operator does.

Variables

  • Added the note_verbosity system variable to manage [notes when an index cannot be used](https://mariadb.com/docs/general-resources/development-articles/mariadb-internals/mariadb-internals-documentation-query-optimizer/notes-when-an-index-cannot-be-used

Security

  • Fixes for the following security vulnerabilities:

    • CVE-2023-22084

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.4, see the MariaDB Foundation release announcement.

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.

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

MariaDB 11.0.3 Release Notes

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

Download 11.0.3Release NotesChangelogOverview of 11.0

Release date: 14 Aug 2023

MariaDB 11.0 is a current short-term stable series of MariaDB and will be maintained until June 2024. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.3 is a Stable (GA) release.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

Upgrading from MySQL

  • MariaDB now detects and converts previously incompatible MySQL partition schemes (MDEV-29253)

General

  • As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 11.0 for Ubuntu 18.04 LTS "Bionic" and Ubuntu 22.10 "Kinetic"

  • In this release repositories for Debian 12 "Bookworm" have been added.

  • 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_set is never executed in ha_partition::multi_range_key_create_key due to bitwise & with 0 constant (MDEV-24712)

  • Client can crash the server with a mysql_list_fields("view") call (MDEV-30159)

  • I_S.parameters not immediatly changed updated after procedure change (MDEV-31064)

  • bzero wipes more bytes than necessary in set_global_from_ddl_log_entry (MDEV-31521)

  • Assertion ``0'failed inType_handler_row::field_typeuponTO_CHAR` with wrong argument (MDEV-29152)

  • mysql_upgrade fails due to old_mode="", with "Cannot load from mysql.proc. The table is probably corrupted" (MDEV-28915)

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 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 in Item_func_mul::int_op and Item_func_round::int_op (MDEV-30932)

  • Assorted assertion failures in json_find_path with certain collations (MDEV-23187)

InnoDB

  • Crashing on I/O error is unhelpful (MDEV-27593)

  • SIGSEGV in log_sort_flush_list() in InnoDB crash recovery (MDEV-31354)

  • InnoDB tables are being flagged as corrupted on an I/O bound server (MDEV-31767)

  • Duplicate entry allowed into a UNIQUE column (MDEV-31120)

  • Server Status Innodb_row_lock_time% is reported in seconds (MDEV-29311)

  • innochecksum dies with Floating point exception (MDEV-31641)

  • Add InnoDB engine information to the slow query log (MDEV-31558)

  • Deadlock with 3 concurrent DELETEs by unique key (MDEV-10962)

  • innodb protection against dual processes accessing data insufficient (MDEV-31568)

  • ER_DUP_KEY in mysql.innodb_table_stats upon RENAME on sequence (MDEV-31607)

  • 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)

  • InnoDB: Failing assertion: page_type == i_s_page_type[page_type].type_value (MDEV-31386)

  • btr_estimate_n_rows_in_range() accesses unfixed, unlatched page (MDEV-30648)

  • 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)

  • ASAN errors in dict_v_col_t::detach upon adding key to virtual column (MDEV-31416)

  • Purge trying to access freed secondary index page (MDEV-31264)

  • Freed data pages are not always being scrubbed (MDEV-31253)

  • InnoDB recovery hangs after reporting corruption (MDEV-31353)

  • !cursor->index->is_committed() in row0ins.cc after update to 10.4.13 from 10.3.21 (MDEV-22739)

  • 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)

  • InnoDB recovery and mariadb-backup --prepare fail to report detailed progress (MDEV-29911)

  • 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)

  • Server freeze due to innodb_change_buffering and innodb_file_per_table=0 (MDEV-31088)

  • Change buffer entries are left behind when freeing a page, causing secondary index corruption when the page is later reused (MDEV-31385)

  • 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_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

  • ANALYZE FORMAT=JSON now includes InnoDB engine statistics for each table (MDEV-31577)

  • 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_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)

  • Server crash in store_length, assertion failure in Type_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)

  • Calling a function from a different database in a slave side trigger crashes (MDEV-29894)

  • rpl.rpl_manual_change_index_file occasionally fails in BB with Result length mismatch (MDEV-30214)

Galera

  • Node never returns from Donor/Desynced to Synced when wsrep_mode = BF_ABORT_mariadb-backup (MDEV-31737)

  • 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)

  • Assertion failure !lock.was_chosen_as_deadlock_victim in trx0trx.h:1065 (MDEV-30963)

  • 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)

Security

  • Fixes for the following security vulnerabilities:

    • CVE-`-```

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.3, see the MariaDB Foundation release announcement.

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.

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

MariaDB 11.0.2 Release Notes

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

Download 11.0.2Release NotesChangelogOverview of 11.0

Release date: 6 Jun 2023

MariaDB 11.0 is a current short-term stable series of MariaDB and will be maintained until June 2024. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.2 is a Stable (GA) release.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

Functions

  • Given a time in picoseconds, the new function FORMAT_PICO_TIME returns a human-readable time value and unit indicator (MDEV-19629)

InnoDB

  • InnoDB does not free UNDO after the fix of MDEV-30671 (MDEV-31234)

  • InnoDB hang fixes (MDEV-31158, MDEV-31343, MDEV-31350)

  • Innodb_buffer_pool_read_requests is not updated correctly (MDEV-31309)

  • InnoDB monitor trx_rseg_history_len was accidentally disabled by default (MDEV-31308)

  • Revert "MDEV-30473 : Do not allow GET_LOCK() / RELEASE_LOCK() in cluster"

Optimizer

  • Split Materialized optimization is improved to re-fill the materialized table only if necessary. The fewer number of table refills is taken into account when choosing query plan, too (MDEV-26301)

  • New optimizer_switch option, hash_join_cardinality, is added. It is ON by default. When set to ON, the optimizer will produce tighter bounds for hash join output cardinality. (MDEV-30812)

  • Crash with condition pushable into derived and containing outer reference (MDEV-31403 MDEV-31240)

  • Crash with EXPLAIN EXTENDED for multi-table update of system table (MDEV-31224)

  • ANALYZE FORMAT=JSON now prints more information about Block Nested Loop joins: block-nl-join element now has r_loops, r_effective_rows and r_other_time_ms fields (MDEV-30806, MDEV-30830, MDEV-30972).

Variables

  • New status variable: max_used_connections_time (MDEV-30543)

Security

  • Fixes for the following security vulnerabilities:

    • CVE-`-```

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.2, see the MariaDB Foundation release announcement.

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.

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

MariaDB 11.0.1 Release Notes

DownloadRelease NotesChangelogOverview of 11.0

Release date: 22 Feb 2023

Do not use non-stable (non-GA) releases in production!

MariaDB 11.0 is the current development series of MariaDB. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0 is a Release Candidate (RC) release.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

Notable Items

InnoDB

  • Remove the global sequence DICT_HDR_ROW_ID for DB_ROW_ID (MDEV-19506)

  • Remove the InnoDB change buffer (MDEV-29694)

  • Deprecate innodb_file_per_table (MDEV-29983)

  • Set innodb_undo_tablespaces=3 by default (MDEV-29986)

  • Deprecate innodb_flush_method (MDEV-30136)

  • Deprecate innodb_defragment and related parameters (MDEV-30544)

  • InnoDB read-ahead may cause page writes (MDEV-26790)

  • Read-ahead unnecessarily allocates and frees pages when a page is in the buffer pool (MDEV-30216)

  • Full-text index corruption with system versioning (MDEV-25004)

  • innodb_undo_log_truncate=ON recovery and backup fixes (MDEV-29999, MDEV-30179, MDEV-30438)

  • Upgrade after a crash is not supported (MDEV-24412)

  • Remove InnoDB buffer pool load throttling (MDEV-25417)

  • InnoDB shutdown hangs when the change buffer is corrupted (MDEV-30009)

  • innodb_fast_shutdown=0 fails to report change buffer merge progress (MDEV-29984)

  • mariadb-backup --backup --incremental --throttle=... hangs (MDEV-29896)

  • Crash after recovery, with InnoDB: Tried to read (MDEV-30132)

  • Trying to write ... bytes at ... outside the bounds (MDEV-30069)

  • TRUNCATE breaks FOREIGN KEY locking (MDEV-29504, MDEV-29849)

  • INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION.NAME is NULL for undo tablespaces (MDEV-30119)

  • Fixed hangs and error handling in B-tree operations (MDEV-29603, MDEV-30400)

  • InnoDB bulk insert fixes (MDEV-30047, MDEV-30321)

  • InnoDB fails to start on innodb_undo_tablespaces mismatch (MDEV-30158)

  • mariadb-backup.skip_innodb crashes when innodb_undo_tablespaces > 0 (MDEV-30122)

Galera

  • Fixes for cluster wide write conflict resolving (MDEV-29684)

Replication

  • Parallel slave applying in binlog order is corrected for admin class of commands including ANALYZE (MDEV-30323)

  • Seconds_Behind_Master is showed now more precisely at the slave applier start, including in the delayed mode (MDEV-29639)

  • mariadb-binlog --verbose is made to show the type of compressed columns (MDEV-25277)

  • Deadlock is resolved on replica involving BACKUP STAGE BLOCK_COMMIT and a committing user XA (MDEV-30423)

Docker Official Images

  • 11.0, unlike previous version, no longer includes mysql named compatible executable symlinks inside the container.

Packaging

  • mysql compatible symlinks are no longer installed in core package, but are delegated to a -compat package (MDEV-30203)

  • Use of mysql named executables (except for Windows) will result in a deprecation warning (MDEV-29582)

General

  • Infinite sequence of recursive calls when processing embedded CTE (MDEV-30248)

  • Crash with a query containing nested WINDOW clauses (MDEV-30052)

  • Json Range only affects first row of the result set (MDEV-30304)

  • In this release repositories for Fedora 37 and Ubuntu 22.10 Kinetic have been added.

Security

  • Fixes for the following security vulnerabilities:

    • CVE-`-```

Changelog

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

Contributors

For a full list of contributors to MariaDB 11.0.1, see the MariaDB Foundation release announcement.

Do not use non-stable (non-GA) releases in production!

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.

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

MariaDB 11.0.0 Release Notes

The most recent release of MariaDB 11.0 is:MariaDB 11.0.6 Stable (GA) Download Now

DownloadRelease NotesChangelogOverview of 11.0

Release date: 27 Dec 2022

Do not use alpha releases in production!

MariaDB 11.0 is a current development series of MariaDB, and will be maintained for one year after its Generally Available release. It is an evolution of MariaDB 10.11 with several entirely new features.

MariaDB 11.0.0 is a single preview release. Features are to be considered preview, and none are guaranteed to make it into MariaDB 11.0.

The preview is available as a container quay.io/mariadb-foundation/mariadb-devel:10.11-preview.

For an overview of MariaDB 11.0 see theWhat is MariaDB 11.0? page.

Thanks, and enjoy MariaDB!

New optimizer cost model

This is the main change that practically defines this release. Read about new optimizer cost model on its own page

Galera

  • MDEV-22570 Implement wsrep_provider_options as plugin

  • MDEV-29281 Add details about node eviction status to the JSON file with Galera node status

Removing/Deprecating old code

  • MDEV-29694 Remove the InnoDB change buffer

  • MDEV-30136 Deprecate innodb_flush_method

  • MDEV-29983 Deprecate innodb_file_per_table

  • MDEV-30128 remove support for 5.1- replication events

  • MDEV-29582 deprecate mysql* names

  • MDEV-29227 deprecate explicit_defaults_for_timestamp=0

  • MDEV-28910 remove the 5.5.5- version hack

  • MDEV-29668 SUPER no longer allows actions that have fine-grained dedicated privileges

Other changes

  • MDEV-30203 Move mysql compatibility symlinks to different package

  • MDEV-30153 ad hoc client versions are confusing

  • MDEV-29986 Set innodb_undo_tablespaces=3 by default

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.

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