maria:bb-10.3-MDEV-21109-wrong-page-no

Last commit made on 2019-11-27
Get this branch:
git clone -b bb-10.3-MDEV-21109-wrong-page-no https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-MDEV-21109-wrong-page-no
Repository:
lp:maria

Recent commits

60cbcc3... by Vlad Lesin

Add some extra logging to catch the case when page is written with wrong offset.

3fc1f62... by Marko Mäkelä

MDEV-21158 trx_undo_seg_free() is never redo-logged

As part of commit 3c09f148f362a587ac3267c31fd17da5f71a0b11
trx_undo_commit_cleanup() was always invoked with noredo=true.

The impact of this should be that some undo log pages may not be
correctly freed if the server is killed and crash recovery will be
performed. Similarly, if mariabackup --backup is being executed
concurrently with user transaction commits, it could happen that some
undo log pages in the backup will never be marked as free for reuse.

It seems that this bug should not have any user-visible
impact other than some undo pages being wasted.

bf58ec7... by midenok

MDEV-18727 cleanup

1d5f6a0... by midenok

MDEV-21049 Segfault in create federatedx table with empty hostname

Use my_localhost instead of NULL for share->hostname.

0076dce... by midenok

MDEV-18727 improve DML operation of System Versioning
MDEV-18957 UPDATE with LIMIT clause is wrong for versioned partitioned tables

UPDATE, DELETE: replace linear search of current/historical records
with vers_setup_conds().

Additional DML cases in view.test

a145442... by Eugene

MDEV-21045 AddressSanitizer: use-after-poison in mem_heap_dup / row_log_table_get_pk_col

row_log_table_get_pk_col(): read instant field value from instant
alter table when it's required.

24a279b... by Vlad Lesin

Merge branch '10.2' into 10.3

aa3d28a... by Marko Mäkelä

MDEV-21088: Follow-up fix for ROW_FORMAT=REDUNDANT

For ROW_FORMAT=REDUNDANT, we must reserve fixed-length dummy values
for the CHAR columns in the metadata record. This is because in
MariaDB Server 10.4, btr_cur_instant_init_low() will rely on
dict_index_t::trx_id_offset being accurate for the metadata record.

89f487f... by Marko Mäkelä

MDEV-21088 Table cannot be loaded after instant ADD/DROP COLUMN

In MariaDB Server 10.4, btr_cur_instant_init_low() assumes that
all PRIMARY KEY columns that are internally variable-length will
be encoded in 0 bytes in the metadata record. Sometimes, CHAR
columns can be encoded as variable-length. We should not
unnecessarily reserve space for a dummy string value in the
metadata record.

7b5654f... by Alexey Botchkov

MDEV-14667 Assertion `used_parts > 0' failed in ha_partition::init_record_priority_queue.

Do not fail fi all the partitions were pruned out.