mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-12353: Deprecate and ignore innodb_log_compressed_pages
page_zip_compress_write_log_no_data(): Remove. We no longer write the MLOG_ZIP_PAGE_COMPRESS_NO_DATA record. Instead, we will write MLOG_ZIP_PAGE_COMPRESS records.
This commit is contained in:
@@ -4,16 +4,6 @@
|
||||
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
# Using innodb_log_compressed=0 leads to a larger number of page
|
||||
# compressions, because page_cur_insert_rec_zip() will reorganize the
|
||||
# page before attempting an insert followed by page compression and
|
||||
# page_zip_compress_write_log_no_data().
|
||||
|
||||
if (`SELECT @@innodb_log_compressed_pages = 0`)
|
||||
{
|
||||
--skip Needs innodb_log_compressed_pages
|
||||
}
|
||||
|
||||
# numbers read in this test depend on the page size
|
||||
-- source include/have_innodb_16k.inc
|
||||
# include/restart_mysqld.inc does not work in embedded mode
|
||||
@@ -86,10 +76,8 @@ SELECT
|
||||
database_name,
|
||||
table_name,
|
||||
index_name,
|
||||
CASE WHEN compress_ops=47 and @@innodb_compression_level IN (4,8,9) THEN 65
|
||||
ELSE compress_ops END as compress_ops,
|
||||
CASE WHEN compress_ops_ok=47 and @@innodb_compression_level IN (4,8,9) THEN 65
|
||||
ELSE compress_ops_ok END as compress_ops_ok,
|
||||
compress_ops,
|
||||
compress_ops_ok,
|
||||
uncompress_ops
|
||||
FROM information_schema.innodb_cmp_per_index
|
||||
ORDER BY 1, 2, 3;
|
||||
|
Reference in New Issue
Block a user