~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/opt_trace/t/general_no_prot_none.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_query_log
 
2
if (`select locate('semijoin', @@optimizer_switch) > 0`) 
 
3
{
 
4
  set optimizer_switch='semijoin=off';
 
5
}
 
6
if (`select locate('materialization', @@optimizer_switch) > 0`) 
 
7
{
 
8
  set optimizer_switch='materialization=off';
 
9
}
 
10
if (`select locate('index_condition_pushdown', @@optimizer_switch) > 0`) 
 
11
{
 
12
  set optimizer_switch='index_condition_pushdown=off';
 
13
}
 
14
if (`select locate('mrr', @@optimizer_switch) > 0`) 
 
15
{
 
16
  set optimizer_switch='mrr=off';
 
17
}
 
18
--enable_query_log
 
19
 
 
20
if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
 
21
            + $VIEW_PROTOCOL > 0`)
 
22
{
 
23
   --skip Need normal protocol
 
24
}
 
25
 
 
26
# The main testing script
 
27
--source suite/opt_trace/include/general.inc