config root man

Current Path : /home/usr.opt/mysql57/mysql-test/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/t/subquery_sj_mat.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

#
# Run subquery_sj.inc with semijoin and turn off all strategies, but Materialization
#

--source include/have_semijoin.inc
--source include/have_materialization.inc
set optimizer_switch='semijoin=on,materialization=on';

--disable_query_log
if (`select locate('loosescan', @@optimizer_switch) > 0`)
{
  set optimizer_switch='loosescan=off';
}
if (`select locate('firstmatch', @@optimizer_switch) > 0`)
{
  set optimizer_switch='firstmatch=off';
}
if (`select locate('duplicateweedout', @@optimizer_switch) > 0`)
{
  set optimizer_switch='duplicateweedout=off';
}
if (`select locate('index_condition_pushdown', @@optimizer_switch) > 0`)
{
  set optimizer_switch='index_condition_pushdown=off';
}
if (`select locate('mrr', @@optimizer_switch) > 0`)
{
  set optimizer_switch='mrr=off';
}
--enable_query_log

--source include/subquery_sj.inc

set optimizer_switch=default;


Man Man