Commit 0dd723b2 authored by Zardosht Kasheff's avatar Zardosht Kasheff

refs #5685, add test

git-svn-id: file:///svn/mysql/tests/mysql-test@53542 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9292adb4
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
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
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
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_zlib;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_zlib
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_lzma;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_lzma
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_quicklz;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_quicklz
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_uncompressed;
select ROW_FORMAT from information_schema.tables where table_name='foo';
ROW_FORMAT
tokudb_uncompressed
drop table foo;
--source include/have_tokudb.inc
#
# Record inconsistency.
#
#
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
create table foo (a int)ROW_FORMAT=tokudb_small;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_fast;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_zlib;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_lzma;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_quicklz;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table foo;
create table foo (a int)ROW_FORMAT=tokudb_uncompressed;
select ROW_FORMAT from information_schema.tables where table_name='foo';
drop table 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