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/ndb_join_pushdown_none.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

#
# Test of pushed joins, aka SPJ, or AQL.
# (Turns off new 5.6 optimizer switches, even MRR)
#

--source include/have_ndb.inc

--disable_query_log
if (`select locate('semijoin', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='semijoin=off';
}
if (`select locate('materialization', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='materialization=off';
}
if (`select locate('firstmatch', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='firstmatch=off';
}
if (`select locate('loosescan', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='loosescan=off';
}
if (`select locate('batch_key_access', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='batch_key_access=off';
}
if (`select locate('mrr', @@global.optimizer_switch) > 0`) 
{
  set @@global.optimizer_switch='mrr=off';
}
--enable_query_log


--source ndb_join_pushdown.inc 

set @@global.optimizer_switch=default;

Man Man