maria:bb-11.2-mdev-22168-hf

Last commit made on 2023-06-20
Get this branch:
git clone -b bb-11.2-mdev-22168-hf https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.2-mdev-22168-hf
Repository:
lp:maria

Recent commits

b8d686b... by Alexey Botchkov

MDEV-22168 Supporting multiple engines with table partitioning

01e9e39... by Tuukka Pasanen <email address hidden>

MDEV-31242: Make sure every Debian post/pre script is using bash

Make sure that every post and pre script are using bash
and have set -e in next to shebang.

Command set -e makes sure that if script fails in
one command it will fail whole script.

34bbf37... by Zhibo Zhang <email address hidden>

MDEV-30188: Ensure all binlog* variables are visible as system variables
Turn the remaining three `binlog*` options binlog_do_db, binlog_ignore_db,
binlog_rows_event_max_size into global variables so that they can be
visible from the SQL user level. This is for audit / secure
configuration check purposes.

Create new MTR tests to make sure that the newly created global
variables can be visible from the command line interface.

Behavior before the code change:

    MariaDB [(none)]> SHOW GLOBAL VARIABLES WHERE
        -> Variable_name LIKE 'binlog_do_db' OR
        -> Variable_name LIKE 'binlog_ignore_db' OR
        -> Variable_name LIKE 'binlog_row_event_max_size';
    Empty set (0.001 sec)

Behavior after the code change:

    MariaDB [(none)]> SHOW GLOBAL VARIABLES WHERE
        -> Variable_name LIKE 'binlog_do_db' OR
        -> Variable_name LIKE 'binlog_ignore_db' OR
        -> Variable_name LIKE 'binlog_row_event_max_size';
    +---------------------------+-------+
    | Variable_name | Value |
    +---------------------------+-------+
    | binlog_do_db | |
    | binlog_ignore_db | |
    | binlog_row_event_max_size | 8192 |
    +---------------------------+-------+
    3 rows in set (0.001 sec)

Note:

For `binlog_do_db` and `binlog_ignore_db`, we add a new class
`Sys_var_binlog_filter` to handle the dynamically-composable command line
options for `binlog_do_db` and `binlog_ignore_db`. Below
is the motivation:

When the users start the server with the option
    --binlog-do-db="database1" --binlog-do-db="database2"
The expected behavior is that the system should allow replication for
both `database1` and `database2`, which is the logic of the original
code.

However, when turning the variables into system variables, the
functionality does not exist any more, since system variables will only
handle the last occurrence of the option, and in this case, the system
will only be able to handle `database2`.

Copyright:

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the BSD-new
license. I am contributing on behalf of my employer Amazon Web Services, Inc.

907bc68... by Sergei Golubchik

Merge branch '11.1' into 11.2

3883eb6... by Marko Mäkelä

Merge 11.0 into 11.1

d85a135... by Marko Mäkelä

Merge mariadb-11.1.1 into 11.1

5fb2c03... by Marko Mäkelä

Merge 10.11 into 11.0

cb9d97e... by Marko Mäkelä

Merge mariadb-11.0.2 into 11.0

56bcb2b... by Marko Mäkelä

Merge mariadb-10.11.4 into 10.11

5d7b957... by Marko Mäkelä

Merge 10.10 into 10.11