mariadb/mysql-test/suite/tokudb.bugs/t/3441.test
Zardosht Kasheff 1965f80577 [t:3441], add test
git-svn-id: file:///svn/mysql/tests/mysql-test@30277 c7de825b-a66e-492c-adef-691d508d4ae1
2011-04-23 21:13:47 +00:00

17 lines
No EOL
427 B
Text

# ticket 895 is a query optimization problem with the primary key
--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
set session tokudb_disable_slow_alter=ON;
create table foo (a int NOT NULL, b int, c int)engine=TokuDB;
insert into foo values(1,10,100),(2,20,200),(3,30,300);
alter table foo add column d text;
select * from foo;
drop table foo;