MariaDB 13.0.2 → 13.2.1
3 releases · 0 breaking changes · 0 security fixes · 0 advisories fixed
0security0breaking0deprecated82feature0fix
Breaking changes
None in the release notes.
Security changes
None in the release notes.
Every release in between
featureANY_VALUE function (MDEV-10426)
featureAggregate functions now support the SQL standard FILTER clause, letting you filter which rows are included in an aggregation without writing a CASE expression (MDEV-24943)
featureAtomic CREATE OR REPLACE TABLE (MDEV-25292)
featureI_S optimization: avoid temp table (MDEV-31342)
featureMariadb-binlog to Convert InnoDB Binlog Format to Legacy Format (MDEV-37605)
featureExtend Binlog-in-Engine with Semi-sync Support (MDEV-38190)
featureBLOBs in MEMORY (HEAP) Engine (MDEV-38975)
featureDirect multi-table update/delete interface and FederatedX implementation (MDEV-39226)
featureAllow prepared statements in stored functions in assignment right hand (MDEV-39518)
featureMemory tables now support CHECK TABLE (MDEV-40030)
featureCopy/paste friendly output in the MariaDB command-line client: the new \S statement terminator prints the result of one statement tab-separated, without column names (MDEV-40551)
featurePluggable aggregate functions (MDEV-40672)
featurePrefetch unseen MHNSW neighbour (MDEV-40827)
featureOn RISC-V, CRC-32 and CRC-32C use the Zbc carry-less multiplication extension when the CPU has it (MDEV-41115)
featureOn RISC-V, CRC-32C uses the Zvbc vector extension on CPUs that have Zvbc but not Zbc (MDEV-41271)
featureSupport for JSON operators column->path and column->>path (MDEV-13594)
featurejson_doc -> path is equivalent to JSON_EXTRACT(json_doc, path), and json_doc ->> path to JSON_UNQUOTE(JSON_EXTRACT(json_doc, path)), so queries written for MySQL 5.7 and later work unchanged; the path must be a string literal
featureDENY clause for access control, a.k.a. "negative grants" (MDEV-14443)
featureDENY records a privilege that an account must never have, and a deny wins over a grant, so "grant broadly, then carve out exceptions" is easy to express: for example, GRANT SELECT ON . TO alice followed by DENY SELECT ON secrets.payroll TO alice
featureDenies are hierarchical: a deny at a higher level blocks grants further down, even grants issued afterwards; for example, a table-level DENY SELECT on hr.staff still blocks a column-level GRANT SELECT (id, name) on that table
featureOnly REVOKE DENY removes a deny; a later GRANT does not
featureSHOW GRANTS shows denies only to users with the SELECT privilege on the mysql database
featureAuto-adding new partitions for PARTITION BY RANGE (MDEV-15621)
featureAn INTERVAL clause on a RANGE COLUMNS partitioned table makes MariaDB add partitions by a fixed interval as rows are inserted, without ALTER TABLE ... ADD PARTITION; Oracle's NUMTODSINTERVAL() and NUMTOYMINTERVAL() are accepted as an alternative spelling
featureImprove error reporting of mysqlbinlog when used with --flashback (MDEV-20749)
featureLocking full table scans can use table-level locking (MDEV-24813)
featureA locking statement that scans a whole table, with no WHERE condition and no LIMIT, used to lock rows one at a time; this applies to SELECT ... FOR UPDATE, UPDATE, and DELETE, and to reads under SERIALIZABLE isolation
featureWith the new innodb_table_lock_on_full_scan variable enabled (global and session, default OFF), InnoDB takes a single table-level lock instead: shared (S) for reads, and exclusive (X) for writes and FOR UPDATE reads; SKIP LOCKED scans keep row locks
featureAdd formatted column support to JSON_TABLE (MDEV-25727)
featureA column declared with FORMAT JSON PATH returns the JSON value it finds, including nested arrays and objects, as text in a single column
featureGalera SST works for tables with DATA DIRECTORY whose data files don't fit in the datadir (MDEV-29909)
featureThe new read-only wsrep_sst_tmp_dir variable sets the directory where the joiner stores the transferred data files during SST; MariaBackup then moves them to their final locations
featureThe default utf8 character set is now utf8mb4 (MDEV-30041)
featureThe default old_mode no longer includes UTF8_IS_UTF8MB3; add UTF8_IS_UTF8MB3 to old_mode to keep utf8 meaning utf8mb3
featuremariadb-dump no longer includes generated column values in a dump (MDEV-32362)
featureBy default, a generated column keeps its place in the INSERT statement and its value is written as DEFAULT; with --complete-insert, generated columns are left out of both the column list and the values (see Tools)
featurelog_slow_max_query_length limits the size of queries written to the slow query log (MDEV-33463)
featureA statement longer than this many bytes is skipped entirely, not truncated, which keeps statements with very large TEXT or BLOB literals out of the log; global and session, default 4294967295 (no limit)
featureINFORMATION_SCHEMA.VECTOR_INDEXES provides information about vector indexes (MDEV-34805)
featureparsec_iterations sets the number of PBKDF2 rounds for the PARSEC authentication plugin (MDEV-35254)
featureThe value is a power of two, minimum 1024, and other values are rounded up with a warning; a higher value increases resistance to brute-force attacks at the cost of more work per authentication
featureThe count in effect when a password is set is stored with the account, so changing the variable only affects passwords set afterwards
featureADAPTIVE_HASH_INDEX = { YES | NO | DEFAULT } can specify per InnoDB table whether to use the adaptive hash index (MDEV-37070)
featureAlso available per index, where YES or NO overrides the table setting
featureNO disables the adaptive hash index for that table or index even when it is enabled globally; YES enables it when innodb_adaptive_hash_index is ON, or when it is the new IF_SPECIFIED, which enables the adaptive hash index only for tables and indexes marked YES; DEFAULT follows the global setting
featureWhen innodb_adaptive_hash_index is OFF, the adaptive hash index stays disabled whatever the table and index options say
featureXXH3 and XXH32 hash functions (MDEV-38180)
featureAdaptive hash index statistics are shown in ANALYZE FORMAT=JSON (MDEV-38305)
featureA table's r_engine_stats object can include an r_ahi_stats object with ahi_searches (searches that used the adaptive hash index), ahi_searches_btree (searches that fell back to the B-tree), ahi_pages_added, and ahi_rows_added; counters that are zero are left out
featureThe new global status variables Innodb_adaptive_hash_pages_added and Innodb_adaptive_hash_rows_added count the pages and rows added to the adaptive hash index server-wide
featureOptimizer Context Recorder to record the optimizer data and then analyze query optimization on another server instance (MDEV-38701)
featureoptimizer_record_context records the context; to replay it, put the recorded context in a user variable and set the new optimizer_replay_context to that variable's name (MDEV-36523); both variables are session-only
featureinnodb_tablespace_size_warning_threshold and innodb_tablespace_size_warning_pct variables to get a warning when an InnoDB tablespace is getting close to full, before it's 100% full and the service is disrupted (MDEV-38936)
featureDisabled by default (innodb_tablespace_size_warning_threshold is 0); once a threshold is set, a warning is written to the error log when a tablespace reaches innodb_tablespace_size_warning_pct percent of it (default 85, range 0 to 100), and again on each further one-percent increase
featureLocal routine variables usable in PREPARE/EXECUTE/DEALLOCATE and OPEN ... FOR (MDEV-39022)
+21 more items in the release notesfeatureSupport for JSON operators column->path and column->>path (MDEV-13594)
featureDENY clause for access control a.k.a. "negative grants" (MDEV-14443)
featureAuto-adding new partitions for PARTITION BY RANGE (MDEV-15621)
featureImprove error reporting of mysqlbinlog when used with --flashback (MDEV-20749)
featureLocking full table scan fails to use table-level locking (MDEV-24813)
featureAdd formatted column support to JSON_TABLE (MDEV-25727)
featureIgnored domain ids skip validation when connecting to a master (MDEV-28213)
featureThe default utf8 character set is now utf8mb4 (MDEV-30041)
featureNew statement CREATE TRIGGER FOR { STARTUP | SHUTDOWN } (MDEV-30645)
featureOptional lengths for string types: VARCHAR[(N)] (MDEV-31414)
featuremariadbd --validate-config to check the configuration for validity without starting the server (MDEV-31527)
featuremariadb-dump no longer includes generated column values in a dump (MDEV-32362)
featureNEW and OLD in a trigger can be used as row variables (MDEV-34723)
featureINFORMATION_SCHEMA.VECTOR_INDEXES provides information about vector indexes (MDEV-34805)
featureparsec_iterations session variables allows to set the number of PBKDF2 rounds for PARSEC plugin (MDEV-35254)
featureADAPTIVE_HASH_INDEX = { YES | NO | DEFAULT } can specify per InnoDB table whether to use AHI (MDEV-37070)
featureXMLISVALID() schema validation function (MDEV-37262)
featureAND/OR can now short-circuit the execution for any argument not in a strictly left-to-right fashion (MDEV-37713, MDEV-37714)
featureXXH3 and XXH32 hash functions (MDEV-38180)
featureAdaptive hash index statistics is shown in ANALYZE FORMAT=JSON (MDEV-38305)
featureOptimizer Context Recorder to record the optimizer data and then analyze query optimization on another server instance (MDEV-38701)
featureinnodb_tablespace_size_warning_threshold and innodb_tablespace_size_warning_pct variables to get a warning when InnoDB tablespace is getting close to full (before it's 100% full and the service is disrupted) (MDEV-38936)
featureMEMORY tables support variable-length data types, VARCHAR and TEXT/BLOB (MDEV-38975)
featureLocal routine variables usable in PREPARE/EXECUTE/DEALLOCATE and OPEN ... FOR (MDEV-39022)
featurePackage-wide TYPE declarations (MDEV-39587)
featureCHECK TABLE supports MEMORY tables (MDEV-40030)
featureslave_skip_errors variable can be modified without server restart (MDEV-7394)