mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge performance schema test cases from MySQL 5.6.10
Merged the majority of the PFS test cases. There are still 19 failing test cases that need more attention.
This commit is contained in:
@ -1,17 +1,29 @@
|
||||
flush status;
|
||||
flush hosts;
|
||||
flush user_resources;
|
||||
flush privileges;
|
||||
select @@global.debug;
|
||||
@@global.debug
|
||||
|
||||
select @@global.max_connect_errors;
|
||||
@@global.max_connect_errors
|
||||
100
|
||||
select @@global.max_user_connections;
|
||||
@@global.max_user_connections
|
||||
1024
|
||||
select @@global.max_user_connections into @saved_max_user_connections;
|
||||
select @@global.max_connections;
|
||||
@@global.max_connections
|
||||
151
|
||||
select `User`, `Host` from mysql.`user` where `host` like '%\\%%';
|
||||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like '192.%';
|
||||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
||||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
select @@global.max_connections into @saved_max_connections;
|
||||
select @@global.max_user_connections into @saved_max_user_connections;
|
||||
create user 'quota'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'quota'@'santa.claus.ipv4.example.com';
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv4.example.com'
|
||||
|
Reference in New Issue
Block a user