summaryrefslogtreecommitdiff
path: root/mysql-test/main/stat_tables_par_innodb.test
blob: 79ab23dcc3ff491cceba1f93917e5815b01cb1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Note that this test requires a fresh restart to not have problems with the
# old status values

--source include/have_stat_tables.inc
--source include/have_debug_sync.inc
--source include/not_embedded.inc
--source include/have_innodb.inc
--source include/restart_mysqld.inc

SET SESSION DEFAULT_STORAGE_ENGINE='InnoDB';

set @save_optimizer_switch_for_stat_tables_test=@@optimizer_switch;
set optimizer_switch='extended_keys=on';

--source stat_tables_par.inc

set optimizer_switch=@save_optimizer_switch_for_stat_tables_test;

SET SESSION DEFAULT_STORAGE_ENGINE=DEFAULT;