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