maria:bb-10.4-knielsen

Last commit made on 2024-03-13
Get this branch:
git clone -b bb-10.4-knielsen https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-knielsen
Repository:
lp:maria

Recent commits

db225e4... by Kristian Nielsen

MDEV-33475: --gtid-ignore-duplicate can double-apply event in case of parallel replication retry

When rolling back and retrying a transaction in parallel replication, don't
release the domain ownership (for --gtid-ignore-duplicates) as part of the
rollback. Otherwise another master connection could grab the ownership and
double-apply the transaction in parallel with the retry.

Reviewed-by: Brandon Nesterenko <email address hidden>
Signed-off-by: Kristian Nielsen <email address hidden>

428a673... by Dmitry Shulga <email address hidden>

MDEV-33549: Incorrect handling of UPDATE in PS mode in case a table's colum declared as NOT NULL

UPDATE statement that is run in PS mode and uses positional parameter
handles columns declared with the clause DEFAULT NULL incorrectly in
case the clause DEFAULT is passed as actual value for the positional
parameter of the prepared statement. Similar issue happens in case
an expression specified in the DEFAULT clause of table's column definition.

The reason for incorrect processing of columns declared as DEFAULT NULL
is that setting of null flag for a field being updated was missed
in implementation of the method Item_param::assign_default().
The reason for incorrect handling of an expression in DEFAULT clause is
also missed saving of a field inside implementation of the method
Item_param::assign_default().

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.