VersionDrift
Product

MariaDB 13.1.1 → 13.1.2

1 release · 0 breaking changes · 0 security fixes · 0 advisories fixed

0security0breaking0deprecated40feature0fix

Breaking changes

None in the release notes.

Security changes

None in the release notes.

Every release in between

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 notes
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status