mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
wl#1629 SHOW with WHERE(final part, after review)
added syntax: 'show variables where', 'show status where', 'show open tables where'
This commit is contained in:
@ -59,7 +59,7 @@ Variable_name Value
|
||||
Qcache_hits 0
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 0
|
||||
Qcache_not_cached 5
|
||||
select "user1";
|
||||
user1
|
||||
user1
|
||||
@ -71,7 +71,7 @@ Variable_name Value
|
||||
Qcache_hits 0
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 1
|
||||
Qcache_not_cached 9
|
||||
select * from t1;
|
||||
a b c
|
||||
1 1 1
|
||||
@ -84,7 +84,7 @@ Variable_name Value
|
||||
Qcache_hits 1
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 1
|
||||
Qcache_not_cached 12
|
||||
select a from t1 ;
|
||||
a
|
||||
1
|
||||
@ -97,7 +97,7 @@ Variable_name Value
|
||||
Qcache_hits 2
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 1
|
||||
Qcache_not_cached 15
|
||||
select c from t1;
|
||||
c
|
||||
1
|
||||
@ -110,7 +110,7 @@ Variable_name Value
|
||||
Qcache_hits 3
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 1
|
||||
Qcache_not_cached 18
|
||||
show grants for current_user();
|
||||
Grants for @localhost
|
||||
GRANT USAGE ON *.* TO ''@'localhost'
|
||||
@ -143,7 +143,7 @@ Variable_name Value
|
||||
Qcache_hits 7
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 2
|
||||
Qcache_not_cached 22
|
||||
select "user3";
|
||||
user3
|
||||
user3
|
||||
@ -167,7 +167,7 @@ Variable_name Value
|
||||
Qcache_hits 7
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 7
|
||||
Qcache_not_cached 30
|
||||
select "user4";
|
||||
user4
|
||||
user4
|
||||
@ -197,7 +197,7 @@ Variable_name Value
|
||||
Qcache_hits 8
|
||||
show status like "Qcache_not_cached";
|
||||
Variable_name Value
|
||||
Qcache_not_cached 8
|
||||
Qcache_not_cached 34
|
||||
set names binary;
|
||||
delete from mysql.user where user in ("mysqltest_1","mysqltest_2","mysqltest_3");
|
||||
delete from mysql.db where user in ("mysqltest_1","mysqltest_2","mysqltest_3");
|
||||
|
Reference in New Issue
Block a user