forked from Percona-QA/package-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed TokuDB to use new session variable for compression
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
USE world2; | ||
ALTER TABLE City DROP FOREIGN KEY city_ibfk_1; | ||
SET SESSION tokudb_row_format = TOKUDB_LZMA; | ||
ALTER TABLE City Engine=TokuDB; | ||
ALTER TABLE City ROW_FORMAT=TOKUDB_ZLIB; | ||
OPTIMIZE TABLE City; | ||
SHOW CREATE TABLE City; | ||
ALTER TABLE City ROW_FORMAT=TOKUDB_QUICKLZ; | ||
|
||
SET SESSION tokudb_row_format = TOKUDB_ZLIB; | ||
ALTER TABLE City; | ||
OPTIMIZE TABLE City; | ||
SHOW CREATE TABLE City; | ||
ALTER TABLE City ROW_FORMAT=TOKUDB_LZMA; | ||
|
||
SET SESSION tokudb_row_format = TOKUDB_QUICKLZ; | ||
ALTER TABLE City; | ||
OPTIMIZE TABLE City; | ||
SHOW CREATE TABLE City; | ||
ALTER TABLE City ROW_FORMAT=TOKUDB_SNAPPY; | ||
|
||
SET SESSION tokudb_row_format = TOKUDB_SNAPPY; | ||
ALTER TABLE City; | ||
OPTIMIZE TABLE City; | ||
SHOW CREATE TABLE City; |