Commit 8a579ebd authored by Rich Prohaska's avatar Rich Prohaska

#122 fix tests that need to show default row format

parent ef6add4c
SET DEFAULT_STORAGE_ENGINE='tokudb'; SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
DROP TABLE IF EXISTS foo; DROP TABLE IF EXISTS foo;
set session tokudb_disable_slow_alter=ON; set session tokudb_disable_slow_alter=ON;
CREATE TABLE foo(a int auto_increment, b int, primary key(a))engine=TokuDB; CREATE TABLE foo(a int auto_increment, b int, primary key(a))engine=TokuDB;
......
SET DEFAULT_STORAGE_ENGINE='tokudb'; SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
DROP TABLE IF EXISTS foo; DROP TABLE IF EXISTS foo;
CREATE TABLE foo (c1 int not null primary key) engine=TokuDB; CREATE TABLE foo (c1 int not null primary key) engine=TokuDB;
SELECT CREATE_OPTIONS SELECT CREATE_OPTIONS
...@@ -10,7 +11,7 @@ Table Create Table ...@@ -10,7 +11,7 @@ Table Create Table
foo CREATE TABLE `foo` ( foo CREATE TABLE `foo` (
`c1` int(11) NOT NULL, `c1` int(11) NOT NULL,
PRIMARY KEY (`c1`) 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; ALTER TABLE foo row_format=tokudb_lzma, add column c2 int not null;
SELECT CREATE_OPTIONS SELECT CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo'); FROM INFORMATION_SCHEMA.TABLES WHERE (table_name LIKE 'foo');
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# Verify that row format changes are non-blocking, hot operations. # Verify that row format changes are non-blocking, hot operations.
# #
SET DEFAULT_STORAGE_ENGINE='tokudb'; SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
--disable_warnings --disable_warnings
DROP TABLE IF EXISTS foo; DROP TABLE IF EXISTS foo;
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# other ALTER TABLE statements. # other ALTER TABLE statements.
# #
SET DEFAULT_STORAGE_ENGINE='tokudb'; SET DEFAULT_STORAGE_ENGINE='tokudb';
set tokudb_hide_default_row_format=false;
--disable_warnings --disable_warnings
DROP TABLE IF EXISTS foo; DROP TABLE IF EXISTS 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