maria:bb-10.5-mdev-26541

Last commit made on 2023-01-20
Get this branch:
git clone -b bb-10.5-mdev-26541 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-mdev-26541
Repository:
lp:maria

Recent commits

347dcfb... by Yuchen Pei

MDEV-26541 Make UBSAN builds work with spider again.

When built with ubsan and trying to load the spider plugin, the hidden
visibility of mysqld compiling flag causes ha_spider.so to be missing
the symbol ha_partition. This commit fixes that, as well as some
memcpy null pointer issues when built with ubsan.

Signed-off-by: Yuchen Pei <email address hidden>

eeb8ebb... by Daniele Sciascia <email address hidden>

MDEV-29774 BF abort no longer wakes up debug_sync waiters

Since commit d7d3ad698abde16978e094b825e17a6ecd8604e, "hard" kill is
required to interrupt debug sync waits.
Affected the following tests:
 - galera_var_retry_autocommit,
 - galera_bf_abort_at_after_statement
 - galera_parallel_apply_3nodes

Reviewed-by: Jan Lindström <email address hidden>

8d91e3f... by Yuchen Pei

MDEV-30191 Remove the to-be-freed spider condition in an sp call

The condition is freed in sp_head::execute, after calling
ha_spider::reset. This commit partially reverts the change in commit
e954d9de886aebc68c39240304fe97ae88276dbb, so that the condition is
always freed regardless of the wide_handler->sql_command, which will
prevent access to the freed condition later.

Signed-off-by: Yuchen Pei <email address hidden>

da798c9... by Oleksandr "Sanja" Byelkin

new PCRE2 10.42

86059fd... by Oleksandr "Sanja" Byelkin

Merge branch '10.4' into 10.5

ff72a94... by Rucha Deodhar <email address hidden>

MDEV-26392: Crash with json_get_path_next and 10.5.12

Analysis:
When we skip level when path is found, it changes the state of the json
engine. This breaks the sequence for json_get_path_next() which is called at
the end to ensure json document is valid and leads to crash.
Fix:
Use json_scan_next() at the end to check if json document has correct
syntax (is valid).

9924466... by Oleksandr "Sanja" Byelkin

v5.5.4-stable

0459d2c... by Marko Mäkelä

Merge 10.4 into 10.5

2b3423c... by Marko Mäkelä

Merge 10.3 into 10.4

489b556... by Marko Mäkelä

MDEV-30422 Merge new release of InnoDB 5.7.41 to 10.3

MySQL 5.7.41 includes one InnoDB change
mysql/mysql-server@d2d6b2dd00f709bc528386009150d4bc726e25a0
that seems to be applicable to MariaDB Server 10.3 and 10.4.
Even though commit 5b9ee8d8193a8c7a8ebdd35eedcadc3ae78e7fc1
seems to have fixed sporadic failures on our CI systems, it is
theoretically possible that another race condition remained.

buf_flush_page_cleaner_coordinator(): In the final loop,
wait also for buf_get_n_pending_read_ios() to reach 0.
In this way, if a secondary index leaf page was read into the
buffer pool and ibuf_merge_or_delete_for_page() modified that
page or some change buffer pages, the flush loop would execute
until the buffer pool really is in a clean state.

This potential data corruption bug does not affect MariaDB Server 10.5
or later, thanks to commit b42294bc6409794bdbd2051b32fa079d81cea61d
which removed change buffer merges that are not explicitly requested.