mariadb/mysql-test/suite/tokudb.bugs/t/3486.test
Zardosht Kasheff bf4f63c7ef [t:3486], add test to main line
git-svn-id: file:///svn/mysql/tests/mysql-test@30541 c7de825b-a66e-492c-adef-691d508d4ae1
2011-05-04 15:47:43 +00:00

18 lines
No EOL
470 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 blob, clustering key (a(3)))engine=TokuDB;
insert into foo values("");
alter table foo add column b blob;
update foo set b="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb";
select * from foo;
drop table foo;