summaryrefslogtreecommitdiff
path: root/mysql-test/main/empty_user_table.result
blob: e5307c36e24db66399323d0409ab856955b3ca65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
# switching from mysql.global_priv to mysql.user
truncate table mysql.user;
flush privileges;
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
connect  fail,localhost,u1;
Got one of the listed errors
# switching back from mysql.user to mysql.global_priv