1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '12.0' into 12.1

wsrep.wsrep_off: update the result file after c4cad8d50c
This commit is contained in:
Sergei Golubchik
2025-08-03 15:01:09 +02:00
438 changed files with 12028 additions and 2742 deletions

View File

@@ -261,6 +261,22 @@ install soname "simple_password_check";
MARIADB-ADMIN: unable to change password; error: 'The MariaDB server is running with the --strict-password-validation option so it cannot execute this statement'
# All done
uninstall plugin simple_password_check;
#
# End of 10.4 tests
#
# MDEV-30190 Password check plugin prevents changing grants for CURRENT_USER
#
select priv into @old_priv from mysql.global_priv where user='root' and host='localhost';
install soname "simple_password_check";
grant all on db1.* to current_user;
select current_user;
current_user
root@localhost
show grants;
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION
GRANT ALL PRIVILEGES ON `db1`.* TO `root`@`localhost`
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
revoke all on db1.* from current_user;
uninstall plugin simple_password_check;
update mysql.global_priv set priv=@old_priv where user='root' and host='localhost';
# End of 10.11 tests