maria:bb-10.5-anel-rpl-fix-assertion

Last commit made on 2023-11-14
Get this branch:
git clone -b bb-10.5-anel-rpl-fix-assertion https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-anel-rpl-fix-assertion
Repository:
lp:maria

Recent commits

c30412c... by Anel Husakovic <email address hidden>

MDEV-32168: 10.5 reviewr

52cabd8... by Anel Husakovic <email address hidden>

MDEV-32168: slave_error_param condition is never checked from the wait_for_slave_param.inc

- Reviewer: <email address hidden>
            <email address hidden>

9da247b... by Julius Goryavsky <email address hidden>

galera: cleanup of the lists of disabled tests

c3fdfbd... by Julius Goryavsky <email address hidden>

MDEV-31413: post-fix for 10.5+ (galera_restart_replica test failures)

e0c6578... by Marko Mäkelä

MDEV-32737 innodb.log_file_name fails on Assertion `after_apply || !(blocks).end in recv_sys_t::clear

recv_group_scan_log_recs(): Set the debug flag recv_sys.after_apply
after actually completing the log scan.

In the test, suppress some errors that may be reported when
the crash recovery of RENAME TABLE t1 TO t2 is preceded by
copying t2.ibd to t1.ibd.

c68620d... by Kristian Nielsen

Fix random test failures in testcase perfschema.mdl_func

The test case can get extra rows in its output from table
performance_schema.table_handles, left there by an earlier test case (for
example main.long_unique_delayed). So force a server restart at the
beginning of the test.

Signed-off-by: Kristian Nielsen <email address hidden>

3c1f324... by Kristian Nielsen

MDEV-32672: Don't hold LOCK_thd_data over commit_ordered

Partial revert of this commit:

  commit 6b685ea7b0776430d45b095cb4be3ef0739a3c04
  Author: Sergei Golubchik <email address hidden>
  Date: Wed Sep 28 18:55:15 2022 +0200

Don't hold LOCK_thd_data over run_commit_ordered(). Holding the mutex
is unnecessary and will deadlock if any code in a commit_ordered
handlerton call tries to take the mutex to change THD local data.

Instead, set the current_thd for the duration of the call to keep
asserts happy around LOCK_thd_data.

Signed-off-by: Kristian Nielsen <email address hidden>

b06ac9a... by Anel Husakovic <email address hidden>

 MDEV-32462: mysql_upgrade -s still checks for non system tables

- Rename files as requested by Vicentiu:
```
 mysql_json_mysql_upgrade.test -> mysql_upgrade_mysql_json.test
 mysql_json_mysql_upgrade_with_plugin_loaded.test -> mysql_upgrade_mysql_json_with_plugin_loaded.test
 mysql_json_mysql_upgrade_system_tables.test -> mysql_upgrade_mysql_json_system_tables.test
```
- Related to PR #2790
- Reviewer: <email address hidden>, <email address hidden>

4eb8aee... by Anel Husakovic <email address hidden>

MDEV-32462: mysql_upgrade -s still checks for non system tables

- Prevent opening of any user tables in case `upgrade-system-table`
option is used.
- Still there may be uninstalled data types in `mysql` system table so
allow it to perform.
- Closes PR #2790
- Reviewer: <email address hidden>, <email address hidden>

ee77375... by Anel Husakovic <email address hidden>

MDEV-26875: Wrong user in SET DEFAULT ROLE error

- Regression introduced in 957cb7b7ba35
- Patch 4abb8216a054 change `mysql.user` to `mysql.global_priv` for
`add_anonymous.inc`, update `delete_anonymous.inc`.
- Added test case with `--skip-name-resolve`
- Add test case with anonymous user
  - Disable this test for windows, assignes current user to anonymous
  user.

Reviewed by: <email address hidden>