maria:bb-10.6-mdev-31421

Last commit made on 2023-06-28
Get this branch:
git clone -b bb-10.6-mdev-31421 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-mdev-31421
Repository:
lp:maria

Recent commits

399630b... by Yuchen Pei <email address hidden>

MDEV-31421 Fix spider test cleanup

This fixes mdev_26541.test, and the new clean_up_spider.inc will be
useful for other tests where part of deinit_spider does not apply,
e.g. those testing spider initialisation only.

757fa60... by Yuchen Pei <email address hidden>

MDEV-30542 Fixing spider/bugfix.self_reference_multi

The server needs to have a unique name

c607ea2... by Yuchen Pei <email address hidden>

MDEV-31101 Spider: temporarily disable mdev_29904.test

Will re-enable once MDEV-31101 is no longer blocked by MDEV-22979,
as the patch for the latter might fix the former.

2a8fc69... by Yuchen Pei

MDEV-29447 MDEV-26285 MDEV-31338 Refactor spider_db_mbase_util::open_item_func

spider_db_mbase_util::open_item_func() is a monster function.
It is difficult to maintain while it is expected that we need to
modify it when a new SQL function or a new func_type is added.

We split the function into two distinct functions: one handles the
case of str != NULL and the other handles the case of str == NULL.

This refactoring was done in a conservative way because we do not
have comprehensive tests on the function.

It also fixes MDEV-29447 and MDEV-31338 where field items that are
arguments of a func item may be used before created / initialised.

Note this commit is adapted from a patch by Nayuta for MDEV-26285.

86e7bf2... by Yuchen Pei

MDEV-30435 MDEV-30981 Fix ubsan errors w.r.t. memcpy in spd_trx.cc

Extract the indexed string memcopy pattern in spd_trx.cc to a static
inline function.

Also updated the ubsan check in mdev_26541.test (h/t roel).

694ce0d... by Marko Mäkelä

Merge 10.5 into 10.6

84dbd02... by Marko Mäkelä

MDEV-31487: Recovery or backup failure after innodb_undo_log_truncate=ON

recv_sys_t::parse(): For undo tablespace truncation mini-transactions,
remember the start_lsn instead of the end LSN. This is what we expect
after commit 461402a56432fa5cd0f6d53118ccce23081fca18 (MDEV-30479).

4930838... by Marko Mäkelä

Merge 10.5 into 10.6

14275b4... by Rucha Deodhar <email address hidden>

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

Analysis: When mysql_upgrade runs statements for upgrade, characterset is
converted to utf8mb4 because server starts with old_mode that interprets
utf8 to utf8mb4, but mysql.proc table has "utf8mb3" as hardcoded, so
it crashes with corrupted table.

Fix: Changed Table_check_intact::check() definition to allow both
utf8mb3 and utf8mb4 by checking prefix and changing the upgrade scripts
to explicitly use utf8mb3

6daccd4... by Monty <email address hidden>

Moved test from group_min_max.test to group_min_max_not_embedded.test