maria:bb-10.2-MDEV-19741

Last commit made on 2020-05-06
Get this branch:
git clone -b bb-10.2-MDEV-19741 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-MDEV-19741
Repository:
lp:maria

Recent commits

2eb93d8... by Jan Lindström

MDEV-21515 : Galera test sporadic failure on galera.galera_wsrep_new_cluster: Result content mismatch

Test starts two servers and we do not know order they really start,
thus wsrep_local_index can be 1 or 2.

eceeb36... by Jan Lindström

MDEV-19741 : Galera test failure on galera.galera_sst_mariabackup_table_options

Test seems to work.

06b245f... by varun

MDEV-13266: Race condition in ANALYZE TABLE / statistics collection

Fixing a race condition while collecting the engine independent statistics.

Thread1>
1) start running "ANALYZE TABLE t PERISTENT FOR COLUMNS (..) INDEXES ($list)"
2) Walk through $list and save it in TABLE::keys_in_use_for_query
3) Close/re-open tables

Thread2>
1) Make some use of table t. This involves taking table t from
   the table cache, and putting it back (with TABLE::keys_in_use_for_query reset to 0)

Thread1>
continue collecting EITS stats. Since TABLE::keys_in_use_for_query is set to 0 we
will not collect statistics for indexes in $list.

b9f177f... by Marko Mäkelä

MDEV-11254 cleanup: Remove buf_page_t::write_size

commit 6495806e59cc27313375fa8d431b7b8e777f73ff removed all reads
of buf_page_t::write_size. Let us remove the field altogether.

1cccd3c... by Marko Mäkelä

MDEV-7962: Fix cmake WITH_WSREP=OFF

commit d467bb7e5e7902cf763c86cae71fde4f08e2ae3e accidentally
broke the build without WSREP, by misplacing an #endif.

3f65ce5... by Marko Mäkelä

Merge 10.1 into 10.2

d467bb7... by Marko Mäkelä

MDEV-7962 post-push fixes

This is a partial backport of
commit 5e7e7153b439ea1b12588f5830d66b3a0cf13414 from 10.4.

assert_trx_is_free(): Assert !is_wsrep().

trx_init(): Do not initialize trx->wsrep, because it must have been
initialized already.

trx_commit_in_memory(): Invoke wsrep_commit_ordered(). This call
was being skipped, because the transaction object had already been
freed to the pool.

trx_rollback_for_mysql(), innobase_commit_low(),
innobase_rollback_trx(): Always reset trx->wsrep.

5a270e6... by Marko Mäkelä

Add missing have_debug.inc

2748c49... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-19092 Server crash when renaming the column when
  FOREIGN_KEY_CHECKS is disabled

- Referenced index can be null While renaming the referenced column name.
In that case, rename the referenced column name in dict_foreign_t and
find the equivalent referenced index.

5008fc7... by Oleksandr "Sanja" Byelkin

New Connector C