mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-249 QUERY CACHE INFORMATION
This commit is contained in:
15
mysql-test/suite/plugins/t/qc_info_priv.test
Normal file
15
mysql-test/suite/plugins/t/qc_info_priv.test
Normal file
@ -0,0 +1,15 @@
|
||||
--source include/not_embedded.inc
|
||||
--source qc_info_init.inc
|
||||
|
||||
# try an unprivileged user
|
||||
create user mysqltest;
|
||||
connect (conn1,localhost,mysqltest,,);
|
||||
connection conn1;
|
||||
select a from t1;
|
||||
select count(*) from information_schema.query_cache_info;
|
||||
connection default;
|
||||
drop user mysqltest;
|
||||
drop table t1;
|
||||
|
||||
set global query_cache_size= default;
|
||||
|
Reference in New Issue
Block a user