maria:10.2-MDEV-25768

Last commit made on 2022-01-18
Get this branch:
git clone -b 10.2-MDEV-25768 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.2-MDEV-25768
Repository:
lp:maria

Recent commits

0a2a1bd... by Brandon Nesterenko

tmp

9b74d38... by Brandon Nesterenko

MDEV-25768: ALTER gtid_slave_pos table storage engine should not be allowed when slave is running.

Problem:
========
The mysql.gtid_slave_pos table can have its engine modified while
the SQL thread is alive.

Solution:
========
Update ALTER logic to ensure that the table can only have its
engine modified when no SQL threads are running.

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

80d3326... by Vladislav Vaintroub

Windows, appveyor - use VS2022

555a53f... by Vladislav Vaintroub

Windows : fix broken build with OpenSSL

3fb3acf... by Vladislav Vaintroub

Windows, appveyor - use Cygwin's bison again

The bug that made build stuck in bison call seems to have disappeared
with image update

8d8af31... by Vladislav Vaintroub

Windows, CI - workaround hardcoded limits for mtr --parallel=auto

d821fed... by Sergei Golubchik

MDEV-14938 make buildbot to include galera into bintars

allow injecting extra files into the bintar

28a4836... by Vladislav Vaintroub

Windows, CI : run mtr in buildbot_suites.bat with --parallel=auto

96de6bf... by Brandon Nesterenko

MDEV-16091: Seconds_Behind_Master spikes to millions of seconds

Problem:
========
A slave’s relay log format description event is used when
calculating Seconds_Behind_Master (SBM). This forces the SBM
value to spike when processing these events, as their creation
date is set to the timestamp that the IO thread begins.

Solution:
========
When the slave generates a format description event, mark the
event as a relay log event so it does not update the
rli->last_master_timestamp variable.

Reviewed By:
============
Andrei Elkin <email address hidden>

452c9a4... by Rucha Deodhar <email address hidden>

MDEV-26698: Incorrect row number upon INSERT .. SELECT from the same
table: rows are counted twice

Analysis: When the table we are trying to insert into and the SELECT table
are same for INSERT ... SELECT, rows from the SELECT table are copied into
internal temporary table and then to the INSERT table. We only want to
count the rows when we start inserting into the table.
Fix: Reset the counter to 1 before starting to copy from internal temporary
table to select table and then increment the counter.