maria:bb-10.4-MDEV-28621

Last commit made on 2024-04-05
Get this branch:
git clone -b bb-10.4-MDEV-28621 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-28621
Repository:
lp:maria

Recent commits

8c6b358... by Rex Johnston

MDEV-28621 group by optimization incorrectly removing subquery where subject buried in a function

A group by query optimization technique, where the a group by clause in
a subquery can be removed is incorrectly removing references to subquery
items that may be defined and used elsewhere.

This is the initial implementation of a reference counter in the unit
attached to an Item_subquery.

0a9cec2... by Marko Mäkelä

MDEV-33642: MemorySanitizer: SEGV on unknown address on shutdown

signal_hand(): Remove the cmake -DWITH_DBUG_TRACE=ON instrumentation.
It can cause a crash on shutdown when the only other thread is
waiting in wait_for_signal_thread_to_end().

09ea2dc... by Marko Mäkelä

MDEV-33209 Stack overflow in main.json_debug_nonembedded due to incorrect debug injection

In the JSON functions, the debug injection for stack overflows is
inaccurate and may cause actual stack overflows. Let us simply
inject stack overflow errors without actually relying on the ability
of check_stack_overrun() to do so.

Reviewed by: Rucha Deodhar

015f69a... by Marko Mäkelä

MDEV-14448 fixup: clang -Wunused-function

648d2da... by Daniele Sciascia <email address hidden>

MDEV-33540 Avoid writes to TRX_SYS page during mariabackup operations

Fix a scenario where `mariabackup --prepare` fails with assertion
`!m_modifications || !recv_no_log_write' in `mtr_t::commit()`. This
happens if the prepare step of the backup encounters a data directory
which happens to store wsrep xid position in TRX SYS page (this is no
longer the case since 10.3.5). And since MDEV-17458,
`trx_rseg_array_init()` handles this case by copying the xid position
to rollback segments, before clearing the xid from TRX SYS page.
However, this step should be avoided when `trx_rseg_array_init()` is
invoked from mariabackup. The relevant code was surrounded by the
condition `srv_operation == SRV_OPERATION_NORMAL`. An additional check
ensures that we are not trying to copy a xid position which has
already zeroed.

738da49... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-32346 Assertion failure sym_node->table != NULL in pars_retrieve_table_def on UPDATE

- During update operation, InnoDB should avoid the initializing
the FTS_DOC_ID of foreign table if the foreign table is discarded

8532dd8... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-13765 encryption.encrypt_and_grep failed in buildbot with wrong result

- Adjust the test case to check whether all tablespaces
are encrypted by comparing it with existing table count.

b93252a... by Alexey Botchkov

MDEV-32454 JSON test has problem in view protocol.

Few Item_func_json_xxx::fix_length_and_dec() functions fixed.

c9b0c00... by Julius Goryavsky <email address hidden>

galera: correction after wsrep-lib update

Correction to ensure compatibility with the updated wsrep-lib library.

87abae4... by Julius Goryavsky <email address hidden>

galera: wsrep-lib submodule update