maria:bb-10.3-MDEV-28798

Last commit made on 2022-09-29
Get this branch:
git clone -b bb-10.3-MDEV-28798 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-MDEV-28798
Repository:
lp:maria

Recent commits

be4d67b... by Brandon Nesterenko

MDEV-18798: Remove trailing whitespaces

554d6a7... by Brandon Nesterenko

MDEV-28798: Previously Binlog Encrypted Master Segfaults on Binlog Dump with Using_Gtid=Slave_Pos

Problem:
========
A master can segfault if it can't set up decryption for its binary
log during a binlog dump with Using_Gtid=Slave_Pos. If slave
connects using GTID mode, the master will call into
log.cc::get_gtid_list_event(), which iterate through binlog events
looking for a Gtid_list_log_event. On an encrypted binlog that the
master cannot decrypt, the first event will be a
START_ENCRYPTION_EVENT which will call into the following decryption branch

if (fdle->start_decryption((Start_encryption_log_event*) ev))
  errormsg= ‘Could not set up decryption for binlog.’;

The event iteration however, does not stop in spite of this error.
The master will try to read the next event, but segfault while
trying to decrypt it because decryption failed to initialize.

Solution:
========
Break the event iteration if decryption cannot be set up.

Reviewed By:
============
<TODO>

c7732b8... by Brandon Nesterenko

MDEV-28798: Regression

c5b49ef... by Brandon Nesterenko

MDEV-28798 Rename binlog_encryption.encrypted_master_switch_to_unencrypted

b2cfcf1... by Alexey Botchkov

MDEV-21134 Crash with partitioned table, PARTITION syntax, and index_merge.

When the partition table is cloned, the handlers for the partitions that were not opened
should anyway be created (but not opened).

47e9678... by Oleksandr "Sanja" Byelkin

MDEV-29022 add_slave destroy child list and has dead code

Nowdays subquery in a UNION's ORDER BY placed correctly in fake select,
the only problem was incorrect Name_resolution_contect is fixed by this
patch in parsing, so we do not need scanning/reseting of ORDER BY of
a union.

2b89598... by Nayuta Yanagisawa

MDEV-26852 Spider: -Werror=maybe-uninitialized raises on spd_sys_table.cc and ha_spider.cc

The warning "maybe-uninitialized" raises on spd_sys_table.cc and
ha_spider.cc when the sever is compiled with CMAKE_CXX_FLAGS=-Og.

fa4e84b... by Sergei Golubchik

cleanup: main.mysqldump test

show error messages from mysqldump/mysqlimport

88db4e3... by Sergei Golubchik

wsrep suite isn't run by default, wsrep_info shouldn't either

4fd096d... by Sergei Golubchik

sporadic failures of main.bootstrap

give every bootstrap server its own tmpdir, by default it's var/tmp,
which is shared in --parallel