403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.250
Web Server : Apache
System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : bayspec ( 506)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/mysql-test/suite/ndb/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/mysql-test/suite/ndb/t/ndbinfo_cache.test
--source include/have_query_cache.inc
--source include/have_ndb.inc

--source ndbinfo_create.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";

# Turn off query cache
SET GLOBAL query_cache_size=default;
SET GLOBAL query_cache_type=default;

--source ndbinfo_drop.inc

Youez - 2016 - github.com/yon3zu
LinuXploit