#122 fix tests that need to show default row format

This commit is contained in:
Rich Prohaska 2013-10-07 10:35:09 -04:00
parent ef6add4cac
commit 8a579ebd40
4 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
DROP TABLE IF EXISTS foo;
set session tokudb_disable_slow_alter=ON;
CREATE TABLE foo(a int auto_increment, b int, primary key(a))engine=TokuDB;

View file

@ -1,4 +1,5 @@
SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
DROP TABLE IF EXISTS foo;
CREATE TABLE foo (c1 int not null primary key) engine=TokuDB;
SELECT CREATE_OPTIONS
@ -10,7 +11,7 @@ Table Create Table
foo CREATE TABLE `foo` (
`c1` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1
) ENGINE=TokuDB DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_ZLIB
ALTER TABLE foo row_format=tokudb_lzma, add column c2 int not null;
SELECT CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo');

View file

@ -3,6 +3,7 @@
# Verify that row format changes are non-blocking, hot operations.
#
SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
--disable_warnings
DROP TABLE IF EXISTS foo;

View file

@ -4,6 +4,7 @@
# other ALTER TABLE statements.
#
SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
--disable_warnings
DROP TABLE IF EXISTS foo;