summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/lowercase_table_qcache.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/lowercase_table_qcache.result')
-rw-r--r--mysql-test/main/lowercase_table_qcache.result28
1 files changed, 28 insertions, 0 deletions
diff --git a/mysql-test/main/lowercase_table_qcache.result b/mysql-test/main/lowercase_table_qcache.result
new file mode 100644
index 00000000..9f8c89a4
--- /dev/null
+++ b/mysql-test/main/lowercase_table_qcache.result
@@ -0,0 +1,28 @@
+set @save_query_cache_size=@@query_cache_size;
+set GLOBAL query_cache_size=1355776;
+set GLOBAL query_cache_type=ON;
+set LOCAL query_cache_type=ON;
+drop database if exists MySQLtesT;
+create database MySQLtesT;
+create table MySQLtesT.t1 (a int);
+select * from MySQLtesT.t1;
+a
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 1
+drop database mysqltest;
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 0
+use MySQL;
+select * from db;
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 0
+use test;
+select * from MySQL.db;
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 0
+set GLOBAL query_cache_size=@save_query_cache_size;
+set GLOBAL query_cache_type=default;