mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -1,9 +1,14 @@
|
||||
create table t1 as select * from mysql.user;
|
||||
create table t1 as select * from mysql.global_priv;
|
||||
truncate table mysql.global_priv;
|
||||
flush privileges;
|
||||
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
connect fail,localhost,u1;
|
||||
Got one of the listed errors
|
||||
insert mysql.global_priv select * from t1;
|
||||
drop table t1;
|
||||
flush privileges;
|
||||
truncate table mysql.user;
|
||||
flush privileges;
|
||||
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
connect fail,localhost,u1;
|
||||
Got one of the listed errors
|
||||
insert mysql.user select * from t1;
|
||||
drop table t1;
|
||||
flush privileges;
|
||||
|
Reference in New Issue
Block a user