22
33Copyright (c) 2005, 2016, Oracle and/or its affiliates. All Rights Reserved.
44Copyright (c) 2012, Facebook Inc.
5+ Copyright (c) 2017, MariaDB Corporation.
56
67This program is free software; you can redistribute it and/or modify it under
78the terms of the GNU General Public License as published by the Free Software
@@ -68,8 +69,8 @@ using namespace std;
6869# define buf_LRU_stat_inc_unzip () ((void ) 0 )
6970#endif /* !UNIV_HOTBACKUP */
7071
71- #ifndef UNIV_HOTBACKUP
7272#ifndef UNIV_INNOCHECKSUM
73+ #ifndef UNIV_HOTBACKUP
7374/* * Statistics on compression, indexed by page_zip_des_t::ssize - 1 */
7475UNIV_INTERN page_zip_stat_t page_zip_stat[PAGE_ZIP_SSIZE_MAX];
7576/* * Statistics on compression, indexed by index->id */
@@ -79,7 +80,6 @@ UNIV_INTERN ib_mutex_t page_zip_stat_per_index_mutex;
7980#ifdef HAVE_PSI_INTERFACE
8081UNIV_INTERN mysql_pfs_key_t page_zip_stat_per_index_mutex_key;
8182#endif /* HAVE_PSI_INTERFACE */
82- #endif /* !UNIV_INNOCHECKSUM */
8383#endif /* !UNIV_HOTBACKUP */
8484
8585/* Compression level to be used by zlib. Settable by user. */
@@ -128,7 +128,6 @@ Compare at most sizeof(field_ref_zero) bytes.
128128
129129/* Enable some extra debugging output. This code can be enabled
130130independently of any UNIV_ debugging conditions. */
131- #ifndef UNIV_INNOCHECKSUM
132131#if defined UNIV_DEBUG || defined UNIV_ZIP_DEBUG
133132# include < stdarg.h>
134133MY_ATTRIBUTE ((format (printf, 1 , 2 )))
0 commit comments