• Monty's avatar
    Fix compression tests for s390x · b0847443
    Monty authored
    The problem is that s390x is not using the default bzip library we use
    on other platforms, which causes compressed string lengths to be differnt
    than what mtr tests expects.
    
    Fixed by:
    - Added have_normal_bzip.inc, which checks if compress() returns the
      expected length.
    - Adjust the results to match the expected one
      - main.func_compress.test & archive.archive
    - Don't print lengths that depends on compression library
      - mysqlbinlog compress tests & connect.zip
    - Don't print DATA_LENGTH for SET column_compression_zlib_level=1
      - main.column_compression
    b0847443
column_compression.inc 5.16 KB