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>
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.