1
-- source include/have_query_cache.inc
2
set GLOBAL query_cache_size=1355776;
4
drop table if exists t1;
6
create table t1 (a int not null);
7
insert into t1 values (1),(2),(3);
8
flush query cache; # This crashed in some versions
9
flush query cache; # This crashed in some versions
13
/*!40101 SET @OLD_SQL_MODE := @@SQL_MODE, @@SQL_MODE := REPLACE(REPLACE(@@SQL_MODE, 'ANSI_QUOTES', ''), ',,', ','), @OLD_QUOTE := @@SQL_QUOTE_SHOW_CREATE, @@SQL_QUOTE_SHOW_CREATE := 1 */;
15
let query=# only comment
18
let query=-- only comment
22
SET GLOBAL query_cache_size= default;