Commit 6ca9cc12 authored by Zardosht Kasheff's avatar Zardosht Kasheff

refs #5431, fix result file

git-svn-id: file:///svn/mysql/tests/mysql-test@47676 c7de825b-a66e-492c-adef-691d508d4ae1
parent 789e08b1
...@@ -17,6 +17,11 @@ foo CREATE TABLE `foo` ( ...@@ -17,6 +17,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_LZMA ) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_LZMA
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_QUICKLZ; ALTER TABLE foo row_format=TOKUDB_QUICKLZ;
SHOW CREATE TABLE foo; SHOW CREATE TABLE foo;
Table Create Table Table Create Table
...@@ -25,6 +30,11 @@ foo CREATE TABLE `foo` ( ...@@ -25,6 +30,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_QUICKLZ ) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_QUICKLZ
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_UNCOMPRESSED; ALTER TABLE foo row_format=TOKUDB_UNCOMPRESSED;
SHOW CREATE TABLE foo; SHOW CREATE TABLE foo;
Table Create Table Table Create Table
...@@ -33,6 +43,11 @@ foo CREATE TABLE `foo` ( ...@@ -33,6 +43,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_UNCOMPRESSED ) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_UNCOMPRESSED
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_ZLIB; ALTER TABLE foo row_format=TOKUDB_ZLIB;
SHOW CREATE TABLE foo; SHOW CREATE TABLE foo;
Table Create Table Table Create Table
...@@ -41,6 +56,11 @@ foo CREATE TABLE `foo` ( ...@@ -41,6 +56,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) PRIMARY KEY (`a`)
) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_ZLIB ) ENGINE=TokuDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 ROW_FORMAT=TOKUDB_ZLIB
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_FAST; ALTER TABLE foo row_format=TOKUDB_FAST;
SHOW CREATE TABLE foo; SHOW CREATE TABLE foo;
Table Create Table Table Create Table
...@@ -49,6 +69,11 @@ foo CREATE TABLE `foo` ( ...@@ -49,6 +69,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) 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_FAST
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_SMALL; ALTER TABLE foo row_format=TOKUDB_SMALL;
SHOW CREATE TABLE foo; SHOW CREATE TABLE foo;
Table Create Table Table Create Table
...@@ -57,6 +82,11 @@ foo CREATE TABLE `foo` ( ...@@ -57,6 +82,11 @@ foo CREATE TABLE `foo` (
`b` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL,
PRIMARY KEY (`a`) 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_SMALL
select * from foo;
a b
1 11
2 21
3 32
ALTER TABLE foo row_format=TOKUDB_LZMA, add column c int; ALTER TABLE foo row_format=TOKUDB_LZMA, add column c int;
ERROR 42000: Table 'foo' uses an extension that doesn't exist in this MySQL version ERROR 42000: Table 'foo' uses an extension that doesn't exist in this MySQL version
ALTER TABLE foo row_format=TOKUDB_LZMA, drop column b; ALTER TABLE foo row_format=TOKUDB_LZMA, drop column b;
......
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