1--source include/have_innodb.inc 2 3SET SESSION STORAGE_ENGINE='InnoDB'; 4 5set @innodb_stats_persistent_save= @@innodb_stats_persistent; 6set @innodb_stats_persistent_sample_pages_save= 7 @@innodb_stats_persistent_sample_pages; 8 9set global innodb_stats_persistent= 1; 10set global innodb_stats_persistent_sample_pages=100; 11--source index_intersect.test 12set global innodb_stats_persistent= @innodb_stats_persistent_save; 13set global innodb_stats_persistent_sample_pages= 14 @innodb_stats_persistent_sample_pages_save; 15 16SET SESSION STORAGE_ENGINE=DEFAULT; 17