maria:bb-10.11-oalter

Last commit made on 2022-11-29
Get this branch:
git clone -b bb-10.11-oalter https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.11-oalter
Repository:
lp:maria

Recent commits

5fe6ba3... by Nikita Malyavin

MDEV-29069 follow-up: improve DEFAULT rules

previously, fields with DEFAULTs were allowed just when expression is
deterministic. In case of online alter, we should recursively check that
underlying fields of expression also either have explicit values, or
have DEFAULT following this validity rule.

219aedc... by Nikita Malyavin

MDEV-29069 follow-up: support partially usable keys

e017f2f... by Nikita Malyavin

MDEV-29069 follow-up: allow non-deterministic DEFAULTs

f3c1787... by Nikita Malyavin

MDEV-29069 ER_KEY_NOT_FOUND on online autoinc addition + concurrent DELETE

We can't rely on keys formed with columns that were added during this
ALTER. These columns can be set with non-deterministic values, which can
end up with broken or incorrect search.

The same applies to the keys that contain reliable columns, but also have
bogus ones. Using them can narrow the search, but they're also ignored.

Also, added columns shouldn't be considered during the record match. To
determine them, table->has_value_set bitmap is used.

To fill has_value_set bitmap in the find_key call, extra unpack_row call
has been added.

For replication case, extra replica columns can be considered for this
case. We try to ignore them, too.

daabe61... by Sergei Golubchik

cleanup: cache the result of Rows_log_event::find_key()

8e680df... by Sergei Golubchik

set table->pos_in_table_list in online alter

ff36ff6... by Sergei Golubchik

cleanup: remove rpl_group_info::get_table_data()

use table->pos_in_table_list instead.

Also, table->in_use is always set

b9b2ec8... by Sergei Golubchik

cleanup: ifdefs

8e0c6e3... by Nikita Malyavin

few rgi assertions. this can proof that rgi is always present

8f2eafe... by Nikita Malyavin

rename rpl/rpl_alter_instant -> rpl/rpl_alter_innodb