1
-- source include/have_query_cache.inc
4
--echo # MDEV-4520: Assertion `0' fails in Query_cache::end_of_result on
5
--echo # concurrent drop event and event execution
7
set GLOBAL query_cache_size=1355776;
9
create user mysqltest1@localhost;
10
grant SELECT on test.* to mysqltest1@localhost;
12
create table t1 (a int);
14
connect (con1,localhost,mysqltest1,,);
16
--echo # This explain put here to be sure that init connection query
17
--echo # has 'Impossible WHERE'.
18
explain extended select * from test.t1 where 0;
21
revoke all privileges, grant option from mysqltest1@localhost;
22
drop user mysqltest1@localhost;
26
set GLOBAL query_cache_size=default;