mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added building without query cache
This commit is contained in:
4
mysql-test/include/have_query_cache.inc
Normal file
4
mysql-test/include/have_query_cache.inc
Normal file
@ -0,0 +1,4 @@
|
||||
-- require r/have_query_cache.require
|
||||
disable_query_log;
|
||||
show variables like "have_query_cache";
|
||||
enable_query_log;
|
@ -28,8 +28,3 @@ select * from t1;
|
||||
n
|
||||
345
|
||||
drop table t1;
|
||||
flush query cache;
|
||||
reset query cache;
|
||||
show status like "Qcache_queries_in_cache";
|
||||
Variable_name Value
|
||||
Qcache_queries_in_cache 0
|
||||
|
2
mysql-test/r/have_query_cache.require
Normal file
2
mysql-test/r/have_query_cache.require
Normal file
@ -0,0 +1,2 @@
|
||||
Variable_name Value
|
||||
have_query_cache YES
|
@ -67,11 +67,3 @@ insert into t1 values (345);
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test that QUERY CACHE commands doesn't core dump.
|
||||
# (Normally we don't have a cache active at this point)
|
||||
#
|
||||
|
||||
flush query cache;
|
||||
reset query cache;
|
||||
show status like "Qcache_queries_in_cache";
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- source include/have_query_cache.inc
|
||||
|
||||
#
|
||||
# Test grants with query cache
|
||||
#
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- source include/have_query_cache.inc
|
||||
|
||||
#
|
||||
# Tests with query cache
|
||||
#
|
||||
|
Reference in New Issue
Block a user