summaryrefslogtreecommitdiff
path: root/mysql-test/t/lowercase_table_qcache.test
blob: e63ad3b2c16fc725e8cc0452909b21c7fae419bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-- source include/have_query_cache.inc
#
# Test of query cache with --lower-case-table-names
#
set GLOBAL query_cache_size=1355776;

--disable_warnings
drop database if exists MySQLtesT;
--enable_warnings

create database MySQLtesT;
create table MySQLtesT.t1 (a int);
select * from MySQLtesT.t1;
show status like "Qcache_queries_in_cache";
drop database mysqltest;
show status like "Qcache_queries_in_cache";

use MySQL;
disable_result_log;
select * from db;
enable_result_log;
show status like "Qcache_queries_in_cache";
use test;
disable_result_log;
select * from MySQL.db;
enable_result_log;
show status like "Qcache_queries_in_cache";

set GLOBAL query_cache_size=0;

# End of 4.1 tests