Browse Source

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

pull/1432/head
Elena Stepanova 6 years ago
committed by Marko Mäkelä
parent
commit
d3e52ff24d
  1. 3
      mysql-test/suite/innodb/t/full_crc32_import.test

3
mysql-test/suite/innodb/t/full_crc32_import.test

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

Loading…
Cancel
Save