Commit 6fa261e9 authored by Leif Walsh's avatar Leif Walsh

[t:5089] add test, closes #5089

git-svn-id: file:///svn/mysql/tests/mysql-test@44642 c7de825b-a66e-492c-adef-691d508d4ae1
parent d4983d6c
drop table if exists t1;
create table t1 (c1 int not null primary key, c2 int not null) engine=tokudb;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` int(11) NOT NULL,
`c2` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1
insert into t1 (c1,c2) values (1,1),(2,2);
alter table t1 row_format=tokudb_lzma;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` int(11) NOT NULL,
`c2` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_LZMA
drop table t1;
let $engine='tokudb';
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (c1 int not null primary key, c2 int not null) engine=tokudb;
show create table t1;
insert into t1 (c1,c2) values (1,1),(2,2);
alter table t1 row_format=tokudb_lzma;
show create table t1;
drop table t1;
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