maria:bb-10.3-MDEV-14642

Last commit made on 2022-05-18
Get this branch:
git clone -b bb-10.3-MDEV-14642 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-MDEV-14642
Repository:
lp:maria

Recent commits

9eb701c... by Kiyoshi Takeda

MDEV-14642 Assertion 'table->s->db_create_options == part_table->s->db_create_options' failed in compare_table_with_partition

When trying to execute ALTER TABLE EXCHANGE PARTITION with different definitions, assertion

    table->s->db_create_options == part_table->s->db_create_options

failed in compare_table_with_partition().
However, this execution should not be allowed since executing 'exchange partition' requires the identical structure of the two tables.

To fix the problem, I deleted the assertion code and added code that returns an error that indicates tables have different definitions.

c9b5a05... by Alexander Barkov

MDEV-28588 SIGSEGV in __memmove_avx_unaligned_erms, strmake_root

3e564d4... by Marko Mäkelä

MDEV-28541 Unused counter Innodb_encryption_key_rotation_list_length

The counter srv_stats.key_rotation_list_length is never updated, and
therefore Innodb_encryption_key_rotation_list_length will always be 0.

The view INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION comes close
to reporting this information.

4e1bf2b... by Marko Mäkelä

MDEV-28537 Unused or useless InnoDB counters num_index_pages_written, num_non_index_pages_written

The counters were added in commit 5e55d1ced52c52fb2f0508e1346059901a85960f
and any code to update them was
inadvertently removed in commit 2e814d4702d71a04388386a9f591d14a35980bfe
when applying InnoDB changes from MySQL 5.7.

Let us remove these counters that never reported anything useful. If such
statistics are really needed in a special case, they can be obtained by
instrumenting the code by some means, such as eBPF or a source code patch.

730eb1c... by Sergey Petrunia

Code cleanup in/around check_interleaving_with_nj()

- In best_extension_by_limited_search(), do not check for
  "(remaining_tables & real_table_bit)", it is guaranteed to be true.
  Make it an assert.
- In (!idx || check_interleaving_with_nj())", remove the !idx part.
  This check made sense only in the original version of this function.
- "micro optimization" in check_interleaving_with_nj().

8c28b27... by Nayuta Yanagisawa

MDEV-28301 Spider: Fix GCC warnings, comparing the result of pointer addition ... and NULL

The condition of the if statements are always true.

480323f... by Hartmut Holzgraefe

MDEV-19161: Let galera_new_cluster use "restart" instead of "start"

Reviewed-by: Jan Lindström <email address hidden>

66d93a8... by Jan Lindström

MDEV-19959 : Galera test failure on galera_binlog_stmt_autoinc

Make sure that nodes have correct auto_increment_offset when
they start and when control is turned on.

79660e5... by Sergei Golubchik

can't use Item_default_value as a field if it's an expression OR a blob

Fixed failing main.default on Windows
(to trigger an assert the test needed a debug build without
safemalloc, as 0xa5 happened to have the important bit set "correctly")

e9a2894... by Sergei Golubchik

these tests need ipv6