maria:bb-10.5-mdev24953

Last commit made on 2021-02-23
Get this branch:
git clone -b bb-10.5-mdev24953 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-mdev24953
Repository:
lp:maria

Recent commits

c2213b9... by Sergey Petrunia

MDEV-24953: 10.5.9 crashes with large IN() list

The problem was in and_all_keys(), the code of MDEV-9759 which calculates
the new tree weight:

First, it didn't take into account the case when

(next->next_key_part=tmp) == NULL

and dereferenced a NULL pointer when getting tmp->weight.

Second, "if (param->alloced_sel_args > SEL_ARG::MAX_SEL_ARGS) break"
could leave the loop with incorrect value of weight.

Fixed by introducing SEL_ARG::update_weight_locally() and calling it
at the end of the function. This allows to avoid caring about all the
above cases.

85bec9d... by Daniel Bartholomew <email address hidden>

bump the VERSION

16388f3... by Marko Mäkelä

Merge mariadb-10.5.9

d82386b... by Marko Mäkelä

MDEV-24848 Assertion rlen<llen failed when applying MEMSET

btr_cur_upd_rec_in_place(): Prefer WRITE to MEMSET for a single-byte
operation.

log_phys_t::apply(): Relax the assertion to allow a single-byte MEMSET,
even though it is 1 byte longer than a WRITE record.

9d7dc1f... by Elena Stepanova

List of unstable tests for 10.5.9 release

Test code modifications and new failures from buildbot were registered
only for the main suite. The rest was updated partially,
based on the status of existing JIRA items

ae7989c... by Sergei Golubchik

galera.galera_gra_log crashes

reset thd->lex->query_tables_own_last,
because open_table() uses it and will try to dereference
whatever garbage it might have

fc5e03f... by Monty <email address hidden>

Ignore reporting in thd_progress_report() if we cannot lock LOCK_thd_data

The reason for this is that Galera can lock LOCK_thd_data for a long time.

Instead of stalling any long running process, like alter or repair table,
because of progress reporting, ignore the progress reporting for this
call. Progress reporting will continue on the next call after the lock has
been released.

638ede5... by Marko Mäkelä

MDEV-24864 Fatal error in buf_page_get_low() / fseg_page_is_free()

The fix of MDEV-24569 and MDEV-24695 introduced a race condition when
a table is being rebuilt or dropped during the fseg_page_is_free() check.
The server would occasionally crash during the execution of the test
encryption.create_or_replace.

The fil_space_t::STOPPING flag can be set by DDL operations. Normally,
such concurrent operations are prevented by a metadata lock (MDL).
However, neither the change buffer merge nor the fil_crypt_thread() are
protected by MDL.

fil_crypt_read_crypt_data(), xdes_get_descriptor_const(): Pass the
BUF_GET_POSSIBLY_FREED flag to avoid the fatal error in buf_page_get_low()
if a DDL operation was just initiated.

f13f966... by Sergei Golubchik

update PCRE2 ref

a89b7c1... by Sergei Golubchik

columnstore 5.5.1-2