maria:bb-10.4-MDEV-29180

Last commit made on 2023-09-27
Get this branch:
git clone -b bb-10.4-MDEV-29180 https://git.launchpad.net/maria

Branch merges

Branch information

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

Recent commits

92938dc... by Oleksandr "Sanja" Byelkin

MDEV-29180: Description of log_warnings incorrectly mentions "general log"

2d29ccd... by Oleksandr "Sanja" Byelkin

MDEV-29771 Server crashes in check_sequence_fields upon CREATE TABLE .. SEQUENCE=1 AS SELECT ..

Pass name separately for sequence check because sequence can be created with
CREATE TABLE (see https://mariadb.com/kb/en/create-table/#sequence )

554aa1e... by Oleksandr "Sanja" Byelkin

Disable view protocol for the MDEV-31742 test because it make statistics differ or wrong (without service connection)

fec93e7... by Lena Startseva <email address hidden>

MDEV-31465: main.sum_distinct-big and main.merge-big fail with timeout with view-protocol
MDEV-31455: main.events_stress or events.events_stress fails with view-protocol
MDEV-31457: main.delete_use_source fails (hangs) with view-protocol

Fixed tests:
main.sum_distinct-big, main.delete_use_source - disabled view-protocol
for some cases because they use transactions without autocommit
main.events_stress, main.merge-big - disabled service connection
for some queries since it is necessary that the query SELECT pass
in the same session

47f0135... by Igor Babaev

MDEV-32245 Test from subselect.test fails with statement memory protection

With this patch st_select_lex::ref_pointer_array is never re-allocated.

Approved by Oleksandr Byelkin <email address hidden>

50a2e8b... by Oleksandr "Sanja" Byelkin

MDEV-32140: Valgrind/MSAN warnings in dynamic_column_update_move_left

Do not manipulate empty dynamic column, just better return empty dynamic column from the begining.
(it is also optimisation)

9b5275b... by Daniel Black

MDEV-31332: Galera rsync sst to ignore .snapshot/ files

.snapshot exists as a directory on NetApp storage and
should not be copied during the sst process.

Thanks Daniel Czadek for the bug report.

Signed-off-by: Julius Goryavsky <email address hidden>

f5c3e73... by =?utf-8?q?Jan_Lindstr=C3=B6m?= <email address hidden>

MDEV-31651 : Assertion wsrep_thd_is_applying(thd) && !wsrep_thd_is_local_toi(thd) in wsrep_ignored_error_code

Problem was that with BINLOG-statement you can execute
binlog events on master also (not only in applier).
Fix removes too strict part wsrep_thd_is_applying from
assertion. Note that actual event in test is intentionally
corrupted to test should this error being ignored.

Signed-off-by: Julius Goryavsky <email address hidden>

8a5a07f... by =?utf-8?q?Jan_Lindstr=C3=B6m?= <email address hidden>

MDEV-24912 : Assertion `state() == s_executing
|| state() == s_prepared || state() == s_committing
|| state() == s_must_abort || state() == s_replaying'
failed.

CACHE INDEX and LOAD INDEX INTO CACHE are local operations.
Therefore, do not replicate them with Galera.

Signed-off-by: Julius Goryavsky <email address hidden>

952f06a... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-29989 binlog_do_db option breaks versioning table

Problem:
=========
During commit, server calls prepare_commit_versioned to
determine the transaction modified system-versioned data.
Due to binlog_do_db option, we disable the binlog for the
statement. But prepare_commit_versioned() is being
called only when binlog is enabled for the statement.

Fix:
===
prepare_commit_versioned() should happen irrespective
of binlog state. So if the server has any read-write operation
then we should call prepare_commit_versioned().