maria:10.2-22179

Last commit made on 2020-06-17
Get this branch:
git clone -b 10.2-22179 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.2-22179
Repository:
lp:maria

Recent commits

c98672c... by midenok

MDEV-22179 rr support for mtr review

* --rr-arg instead of --rr_option
* Bootstrap saved to rr.bootstrap
* Replication slaves are saved to rr.N dirs
* Perl coding fixes

0d4c430... by Sachin Setiya

MDEV-22179 rr(record and replay) support for mtr

This feature adds the support for rr in mtr. These 2 options are added
--rr run the mysqld in rr record mode
--rr_option= run the rr with custom record option, for multiple
             options use --rr_option= for each option.
             For example
              ./mtr main.view --rr_option=-h --rr_option=-u --rr_option=-c=23
--boot-rr run the mysqld performing bootstrap in rr record mode

Recording are stored in mysql-test/var/rr folder.
To run recording please run
rr replay var/rr/mysql-X

Limitations
Restart will create a new recording.
Repeat will work on same recording , So might be harder to debug.
If test create the multiple instance of mariadb all will be stored in var/rr

9e43ca8... by Marko Mäkelä

Merge 10.1 into 10.2

f8166a0... by Marko Mäkelä

MDEV-21549 IMPORT TABLESPACE fails to adjust all tablespace ID in root pages

After MDEV-12353, the consistency check that I originally added for
commit 1b9fe0bbac72d49a32863241b2b5081438b5f691
(InnoDB Plugin for MySQL 5.1) started randomly failing.

It turns out that the IMPORT TABLESPACE code was always incorrect:
it did not update the (redundantly stored) tablespace ID
in index tree root pages. It only does that for page headers
and BLOB pointers.

PageConverter::update_index_page(): Update the tablespace ID
in the BTR_SEG_TOP and BTR_SEG_LEAF of index root pages.

This is a backport of commit b8b3edff1376dc68c13d819470edfb33c339a64b.

a215e21... by Marko Mäkelä

mbstream: Remove duplicate definition of datasink_buffer

For some reason, when mbstream is compiled with GCC 10,
ld will fail to link it due to a multiple definition of
datasink_buffer. The code appears to have been like that
since the very beginning.

Let us remove the duplicate dummy definition.

ae68880... by Daniel Black

mtr: Only old windows patch-2.5.9 needs --binary

Windows GNU patch 2.7.6 is ok without it.

So account for the old buildbot version for now.

Linux works without it.

--binary fails on FreeBSD-12.0:

$ patch --version
patch 2.0-12u11 FreeBSD
$ patch --binary
patch: unrecognized option `--binary'

ccaec18... by Marko Mäkelä

Merge 10.1 into 10.2

26f0cd8... by Marko Mäkelä

Merge 5.5 into 10.1

0b7a79c... by Vicențiu Ciorbaru

Revert "mtr: remove --binary from patch args"

This reverts commit 1749a68968064278e13b43abfe93aff11e46b9a2.

The reason why we need --binary for patch is because of a bug in
patch.exe 2.5.9. We need to supply binary otherwise the patch program
crashes.

613bc18... by Vicențiu Ciorbaru

sysvars_server_* tests need to have performance schema enabled

Tests will fail otherwise. Backport change from:
867809f23a8f09b1ac0aa8f9212ac8afd572efc