config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb/t/ndbinfo_cache.test

# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc

--source include/have_query_cache.inc
--source include/have_ndb.inc

USE ndbinfo;

# BUG#59831 ndbinfo - counters not increasing after first query
# - ndbinfo tables should never be cached in query cache

# Turn on and reset query cache
set GLOBAL query_cache_type=on;
set GLOBAL query_cache_size=1355776;
reset query cache;
flush status;

# Perform same query several times, which were inserted
# in the cache  before fix but not inserted anymore
--disable_result_log
select * from counters;
select * from counters;
select * from counters;
--enable_result_log
show status like "Qcache_queries_in_cache";
show status like "Qcache_inserts";

SET GLOBAL query_cache_size=0;

Man Man