2019-12-30 13:11:31 +01:00
|
|
|
# Note that this test requires a fresh restart to not have problems with the
|
|
|
|
# old status values
|
|
|
|
|
2022-10-04 10:26:50 +02:00
|
|
|
--source include/no_valgrind_without_big.inc
|
2019-12-30 13:11:31 +01:00
|
|
|
--source include/have_stat_tables.inc
|
|
|
|
--source include/have_debug_sync.inc
|
|
|
|
--source include/not_embedded.inc
|
2012-07-28 02:33:23 +02:00
|
|
|
--source include/have_innodb.inc
|
2019-12-30 13:11:31 +01:00
|
|
|
--source include/restart_mysqld.inc
|
2012-07-28 02:33:23 +02:00
|
|
|
|
2020-01-13 20:07:04 +01:00
|
|
|
SET SESSION DEFAULT_STORAGE_ENGINE='InnoDB';
|
2012-07-28 02:33:23 +02:00
|
|
|
|
|
|
|
set @save_optimizer_switch_for_stat_tables_test=@@optimizer_switch;
|
|
|
|
set optimizer_switch='extended_keys=on';
|
|
|
|
|
2019-12-30 13:11:31 +01:00
|
|
|
--source stat_tables_par.inc
|
2012-07-28 02:33:23 +02:00
|
|
|
|
|
|
|
set optimizer_switch=@save_optimizer_switch_for_stat_tables_test;
|
|
|
|
|
2020-01-13 20:07:04 +01:00
|
|
|
SET SESSION DEFAULT_STORAGE_ENGINE=DEFAULT;
|