• Marko Mäkelä's avatar
    MDEV-27634 innodb_zip tests failing on s390x · cf574cf5
    Marko Mäkelä authored
    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.
    cf574cf5
wl6344_compress_level.result 5.45 KB