mariadb/mysql-test/suite/innodb/t/innodb-page_compression_lzo.test
Jan Lindström f302a3cf9d MDEV-12593: InnoDB page compression should use lz4_compress_default if
available

lz4.cmake: Check if shared or static lz4 library has LZ4_compress_default
function and if it has define HAVE_LZ4_COMPRESS_DEFAULT.

fil_compress_page: If HAVE_LZ4_COMPRESS_DEFAULT is defined use
LZ4_compress_default function for compression if not use
LZ4_compress_limitedOutput function.

Introduced a innodb-page-compression.inc file for page compression
tests that will also search .ibd file to verify that pages
are compressed (i.e. used search string is not found). Modified
page compression tests to use this file.

Note that snappy method is not included because of MDEV-12615
InnoDB page compression method snappy mostly does not compress pages
that will be fixed on different commit.
2017-05-18 09:29:44 +03:00

11 lines
263 B
Text

-- source include/have_innodb.inc
-- source include/have_innodb_lzo.inc
-- source include/not_embedded.inc
# lzo
set global innodb_compression_algorithm = lzo;
# All page compression test use the same
--source include/innodb-page-compression.inc
-- echo #done