Commit d3e52ff2 authored by Elena Stepanova's avatar Elena Stepanova Committed by Marko Mäkelä

MDEV-21288 innodb.full_crc32_import fails due to the use of optional compression algorithm

parent d60dcabd
...@@ -139,6 +139,7 @@ CHECK TABLE t1; ...@@ -139,6 +139,7 @@ CHECK TABLE t1;
DROP TABLE t1; DROP TABLE t1;
SET @save_algo = @@GLOBAL.innodb_compression_algorithm; SET @save_algo = @@GLOBAL.innodb_compression_algorithm;
--error 0,ER_WRONG_VALUE_FOR_VAR
SET GLOBAL innodb_compression_algorithm=2; SET GLOBAL innodb_compression_algorithm=2;
CREATE TABLE t1(a SERIAL) PAGE_COMPRESSED=1 ENGINE=InnoDB; CREATE TABLE t1(a SERIAL) PAGE_COMPRESSED=1 ENGINE=InnoDB;
INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(1);
...@@ -170,7 +171,7 @@ INSERT INTO t1 VALUES(2); ...@@ -170,7 +171,7 @@ INSERT INTO t1 VALUES(2);
SELECT * FROM t1; SELECT * FROM t1;
--error 0,1231 --error 0,ER_WRONG_VALUE_FOR_VAR
SET GLOBAL innodb_compression_algorithm=3; SET GLOBAL innodb_compression_algorithm=3;
FLUSH TABLE t1 FOR EXPORT; FLUSH TABLE t1 FOR EXPORT;
--echo # List before copying files --echo # List before copying files
......
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