Commit 1965f805 authored by Zardosht Kasheff's avatar Zardosht Kasheff

[t:3441], add test

git-svn-id: file:///svn/mysql/tests/mysql-test@30277 c7de825b-a66e-492c-adef-691d508d4ae1
parent 18774615
SET STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
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;
a b c d
1 10 100 NULL
2 20 200 NULL
3 30 300 NULL
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 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;
\ 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