18 lines
613 B
Plaintext
18 lines
613 B
Plaintext
# 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
|
|
|
|
# index stats OFF
|
|
|
|
set @is_enable_default = @@global.ndb_index_stat_enable;
|
|
let is_table_exists = `select count(*) <> 2 from information_schema.tables where table_name in ('ndb_index_stat_head', 'ndb_index_stat_sample') and table_schema='mysql'`;
|
|
|
|
set @is_enable = 0;
|
|
source ndb_index_stat_enable.inc;
|
|
|
|
--source ndb_statistics.inc
|
|
|
|
set @is_enable = @is_enable_default;
|
|
source ndb_index_stat_enable.inc;
|