Commit dad9cf61 authored by Zardosht Kasheff's avatar Zardosht Kasheff

[t:3486], add test to main line

git-svn-id: file:///svn/mysql/tests/mysql-test@30541 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1ae187e9
SET STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
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;
a b
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
drop table foo;
# 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;
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment