EVOLUTION-MANAGER
Edit File: db757_part_alter_analyze.test
source include/have_tokudb.inc; source include/have_partition.inc; set default_storage_engine='tokudb'; disable_warnings; drop table if exists t; enable_warnings; create table t (id int, x int, y int, primary key (id), key (x), key (y)) partition by range(id) ( partition p0 values less than (10), partition p1 values less than maxvalue); insert into t values (1,1,1),(2,1,2),(3,1,3),(4,1,4); show indexes from t; alter table t analyze partition p0; show indexes from t; alter table t analyze partition p1; show indexes from t; insert into t values (100,1,1),(200,2,1),(300,3,1),(400,4,1),(500,5,1); show indexes from t; alter table t analyze partition p0; show indexes from t; alter table t analyze partition p1; show indexes from t; drop table t;