Browse Source

[t:5089] add test, closes #5089

git-svn-id: file:///svn/mysql/tests/mysql-test@44642 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
Leif Walsh 14 years ago
parent
commit
13ab0477b7
  1. 19
      mysql-test/suite/tokudb.bugs/r/5089.result
  2. 13
      mysql-test/suite/tokudb.bugs/t/5089.test

19
mysql-test/suite/tokudb.bugs/r/5089.result

@ -0,0 +1,19 @@
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;

13
mysql-test/suite/tokudb.bugs/t/5089.test

@ -0,0 +1,13 @@
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;
Loading…
Cancel
Save