mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
f302a3cf9d
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.
12 lines
313 B
Text
12 lines
313 B
Text
-- source include/have_innodb.inc
|
|
-- source include/have_innodb_lz4.inc
|
|
# disable embedded as it does not support restart
|
|
-- source include/not_embedded.inc
|
|
|
|
# lz4
|
|
set global innodb_compression_algorithm = lz4;
|
|
|
|
# All page compression test use the same
|
|
--source include/innodb-page-compression.inc
|
|
|
|
-- echo #done
|