Commit 1f46374f authored by Rich Prohaska's avatar Rich Prohaska

#131 make fast and small aliases for quicklz and lzma. fix tests.

parent 43dec550
......@@ -69,7 +69,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL AUTO_INCREMENT,
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_FAST
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_QUICKLZ
select * from foo;
a b
1 11
......@@ -82,7 +82,7 @@ foo CREATE TABLE `foo` (
`a` int(11) NOT NULL AUTO_INCREMENT,
`b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_SMALL
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_LZMA
select * from foo;
a b
1 11
......
......@@ -81,7 +81,7 @@ foo CREATE TABLE `foo` (
`c5` int(11) NOT NULL,
`c6` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_FAST
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_QUICKLZ
ALTER TABLE foo row_format=TOKUDB_SMALL, add column c7 int not null;
SELECT CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo');
......@@ -98,5 +98,5 @@ foo CREATE TABLE `foo` (
`c6` int(11) NOT NULL,
`c7` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_SMALL
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_LZMA
DROP TABLE foo;
......@@ -3,12 +3,12 @@ DROP TABLE IF EXISTS foo;
create table foo (a int)ROW_FORMAT=tokudb_small;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_small
tokudb_lzma
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_fast;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_fast
tokudb_quicklz
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_zlib;
select ROW_FORMAT from information_schema.tables where table_name='foo';
......
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