mariadb/mysql-test/suite/innodb_zip/include/innodb_load_data.inc
Marko Mäkelä cf574cf53b 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.
2022-02-16 17:03:02 +02:00

19 lines
421 B
SQL

--echo # Load the data
SET @col_1 = repeat('a', 67);
SET @col_2 = repeat('b', 67);
SET @col_3 = repeat('c', 67);
SET @col_4 = repeat('d', 67);
SET @col_5 = repeat('e', 67);
SET @col_6 = repeat('f', 67);
SET @col_7 = repeat('g', 67);
SET @col_8 = repeat('h', 67);
SET @col_9 = repeat('i', 67);
while ($i) {
eval INSERT INTO tab5
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,@col_7,@col_8,@col_9);
dec $i;
}
commit;