maria:bb-10.2-MDEV-26647

Last commit made on 2021-10-21
Get this branch:
git clone -b bb-10.2-MDEV-26647 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-MDEV-26647
Repository:
lp:maria

Recent commits

2e07478... by Oleksandr "Sanja" Byelkin

MDEV-26647 (simple_password_check) Include password validation plugin information in the error message if the SQL statement is not satisfied password policy

Make the plugin reporting cause of the error.

3231ce9... by Oleksandr "Sanja" Byelkin

MDEV-26647 (plugin name) Include password validation plugin information in the error message if the SQL statement is not satisfied password policy

Add plugin name to the error message.

05c3dce... by Marko Mäkelä

MDEV-22627 fixup: Cover also ALTER TABLE...ALGORITHM=INPLACE

69b3de8... by Marko Mäkelä

Update libmariadb

b06e816... by Marko Mäkelä

MDEV-22627 Failing assertion: dict_tf2_is_valid(flags, flags2)

create_table_info_t::innobase_table_flags(): Refuse to create
a PAGE_COMPRESSED table with PAGE_COMPRESSION_LEVEL=0 if also
innodb_compression_level=0.

The parameter value innodb_compression_level=0 was only somewhat
meaningful for testing or debugging ROW_FORMAT=COMPRESSED tables.
For the page_compressed format, it never made any sense, and the
check in dict_tf_is_valid_not_redundant() that was added in
72378a25830184f91005be7e80cfb28381c79f23 (MDEV-12873) would cause
the server to crash.

caebe15... by Nikita Malyavin

MDEV-22445 Crash on HANDLER READ NEXT after XA PREPARE

The assertion is absolutely correct since no data access is possible after
XA PREPARE.

The check is added in mysql_ha_read.

1811fd5... by Nikita Malyavin

MDEV-26262 frm is corrupted after ER_EXPRESSION_REFERS_TO_UNINIT_FIELD

This is a duplicate of MDEV-18278 89936f11e965, but I will add an
additional assertion

Description:

The frm corruption should not be reported during CREATE TABLE. Normally
it doesn't, and the data to fill TABLE is taken by open_table_from_share
call. However, the vcol data is stored as SQL string in
table->s->vcol_defs.str and is anyway parsed on each table open.
It is impossible [or hard] to avoid, because it's hard to clone the
expression tree in general (it's easier to parse).

Normally parse_vcol_defs should only fail on semantic errors. If so,
error_reported is set to true. Any other failure is not expected during
table creation. There is either unhandled/unacknowledged error, or
something went really wrong, like memory reject. This all should be
asserted anyway.

Solution:
* Set *error_reported=true for the forward references check;
* Assert for every unacknowledged error during table creation.

a8401ad... by Nikita Malyavin

restore default.test, default.result after MDEV-23597 c47e4aab62c65 commit

1a54cf6... by Alexey Botchkov

MDEV-24585 Assertion `je->s.cs == nice_js->charset()' failed in json_nice.

We should set the charset in
Item_func_json_format::fix_length_and_dec().

5316703... by Marko Mäkelä

MDEV-14804 innodb.update_time failed in buildbot with wrong result

Let us use a minimal-size buffer pool to ensure that page flushing
will be slow enough so that LRU eviction cannot be avoided.