mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17658 change the structure of mysql.user table
Implement User_table_json. Fix scripts to use mysql.global_priv. Fix tests.
This commit is contained in:
6
mysql-test/include/switch_to_mysql_global_priv.inc
Normal file
6
mysql-test/include/switch_to_mysql_global_priv.inc
Normal file
@ -0,0 +1,6 @@
|
||||
disable_query_log;
|
||||
drop table mysql.user;
|
||||
rename table mysql.user_bak to mysql.user;
|
||||
rename table mysql.global_priv_bak to mysql.global_priv;
|
||||
flush privileges;
|
||||
enable_query_log;
|
Reference in New Issue
Block a user