mirror of
https://github.com/MariaDB/server.git
synced 2025-05-02 19:25:03 +03:00
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.
17 lines
342 B
PHP
17 lines
342 B
PHP
--echo # Create table & Index
|
|
|
|
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(67))
|
|
ENGINE=INNODB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=$block_size;
|
|
|
|
|
|
let $i = 9;
|
|
while ($i) {
|
|
|
|
eval CREATE INDEX idx$i ON tab5(col_$i(10));
|
|
dec $i;
|
|
}
|
|
|
|
|