mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/5695.result
2013-09-09 13:59:38 +02:00

32 lines
1.2 KiB
Text

SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
create table foo (a int) compression=tokudb_small;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_small
drop table foo;
create table foo (a int) compression=tokudb_fast;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_fast
drop table foo;
create table foo (a int) compression=tokudb_zlib;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_zlib
drop table foo;
create table foo (a int) compression=tokudb_lzma;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_lzma
drop table foo;
create table foo (a int) compression=tokudb_quicklz;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_quicklz
drop table foo;
create table foo (a int) compression=tokudb_uncompressed;
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
CREATE_OPTIONS
`compression`=tokudb_uncompressed
drop table foo;