EVOLUTION-MANAGER
Edit File: frm_store2.test
# ticket 895 is a query optimization problem with the primary key --source include/have_tokudb.inc SET DEFAULT_STORAGE_ENGINE = 'tokudb'; --disable_warnings DROP TABLE IF EXISTS foo,bar; --enable_warnings let $MYSQLD_DATADIR= `SELECT @@datadir`; set session tokudb_disable_slow_alter=ON; create table foo (a bigint, b bigint); create table bar (a int); alter table foo drop column a; alter table bar add column b int, add column c int; --source include/shutdown_mysqld.inc remove_file $MYSQLD_DATADIR/test/foo.frm; copy_file $MYSQLD_DATADIR/test/bar.frm $MYSQLD_DATADIR/test/foo.frm; remove_file $MYSQLD_DATADIR/test/bar.frm; --source include/start_mysqld.inc show create table foo; show create table bar; # Final cleanup. DROP TABLE foo,bar;