maria:bb-10.5-pre_mdev-742

Last commit made on 2020-03-09
Get this branch:
git clone -b bb-10.5-pre_mdev-742 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-pre_mdev-742
Repository:
lp:maria

Recent commits

1fd79c2... by Andrei Elkin <email address hidden>

MDEV-21659 XA rollback foreign_xid is allowed inside active XA
MDEV-21854 xa commit `xid` one phase for already prepared transaction must always error out

Added state and one-phase option checks to XA "external" commit/rollback
branches. While the XA standard does not prohibit it,
Commit and Rollback of an XA external to the current ongoing transaction
is not allowed; after all the current transaction may rollback
to not being able to revert that decision.

276e042... by Marko Mäkelä

MDEV-21893: Assertion failure on upgrade with innodb_encrypt_log

recv_log_recover_10_4(): Add a missing bit pattern negation that
was forgotten when commit f8a9f906679e1d1ab026c245f7d24c652050d8b3
(MDEV-12353) removed the support for crash-upgrading.

adb4117... by Marko Mäkelä

MDEV-21892: Assertion ...row_get_rec_trx_id... failed on SELECT

btr_cur_upd_rec_in_place(): Invoke page_zip_rec_set_deleted()
for ROW_FORMAT=COMPRESSED pages, so that the change will be
written to the redo log.

This part of crash recovery was broken in
commit 08ba388713946c03aa591899cd3a446a6202f882 (MDEV-12353).

57c592f... by Marko Mäkelä

Cleanup: Remove recv_sys.remove_extra_log_files

create_log_file(): Delete all old redo log files where they used to be
deleted, after the crash injection point innodb_log_abort_6,
before commit 9ef2d29ff44de2013c95666a011b993e5c2e5674
deprecated and ignored the setting innodb_log_files_in_group.

70f0dbe... by Marko Mäkelä

Cleanup: log upgrade and encryption

log_crypt_101_read_checkpoint(), log_crypt_101_read_block():
Declare as ATTRIBUTE_COLD. These are only used when
checking that a MariaDB 10.1 encrypted redo log is clean.

log_block_calc_checksum_format_0(): Define in the only
compilation unit where it is needed. This is only used
when reading the checkpoint information from redo logs
before MariaDB 10.2.2.

crypt_info_t: Declare the byte arrays directly with alignas().

log_crypt(): Use memcpy_aligned instead of reinterpret_cast
on integers.

522fbfc... by Marko Mäkelä

Cleanup: Remove recv_sys.buf_size

Also, correctly document what recv_sys.mutex is protecting.

0a9633e... by Sergey Petrunia

Basic LEX::print function that supports UPDATEs

92eed38... by Sergey Petrunia

Provide a show_create_table_ex() function

It is like show_create_table() but allows the caller to specify the
database_name and table_name which are to be printed.

cbbe497... by Sergey Petrunia

MDEV-21887: federatedx crashes on SELECT ... INTO query in select_handler code

- Don't try to push down SELECTs that have a side effect

- In case the storage engine did support pushdown of SELECT with an INTO
  clause, write the rows we've got from it into select->join->result,
  and not thd->protocol. This way, SELECT ... INTO ... FROM
  smart_engine_table will put the result into where instructed, and
  NOT send it to the client.

2368537... by Marko Mäkelä

MDEV-14425 preparation: Simplify redo log upgrade

recv_log_recover_pre_10_2(): Merged from
recv_find_max_checkpoint_0(), recv_log_format_0_recover().