mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-27634 innodb_zip tests failing on s390x
Some GNU/Linux distributions ship a zlib that is modified to use the s390x DFLTCC instruction. That modification would essentially redefine compressBound(sourceLen) as (sourceLen * 16 + 2308) / 8 + 6. Let us relax the tests for InnoDB ROW_FORMAT=COMPRESSED to cope with such a weaker compression guarantee. create_table_info_t::row_size_is_acceptable(): Remove a bogus debug-only assertion that would fail to hold for the test innodb_zip.bug36169. The function page_zip_empty_size() may indeed return 0.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
eval CREATE TABLE tab5(col_1 TINYBLOB, col_2 TINYTEXT,col_3 BLOB,
|
||||
col_4 TEXT,col_5 MEDIUMBLOB,col_6 MEDIUMTEXT,
|
||||
col_7 LONGBLOB,col_8 LONGTEXT,col_9 VARCHAR(255))
|
||||
col_7 LONGBLOB,col_8 LONGTEXT,col_9 VARCHAR(67))
|
||||
ENGINE=INNODB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=$block_size;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user