summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fsp0pagecompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/fsp0pagecompress.h')
-rw-r--r--storage/innobase/include/fsp0pagecompress.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/innobase/include/fsp0pagecompress.h b/storage/innobase/include/fsp0pagecompress.h
index c623d11c326..00645616556 100644
--- a/storage/innobase/include/fsp0pagecompress.h
+++ b/storage/innobase/include/fsp0pagecompress.h
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (C) 2013, 2017, MariaDB Corporation. All Rights Reserved.
+Copyright (C) 2013, 2018, MariaDB Corporation. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -38,6 +38,7 @@ Created 11/12/2013 Jan Lindström jan.lindstrom@skysql.com
#define PAGE_SNAPPY_ALGORITHM 6
#define PAGE_ALGORITHM_LAST PAGE_SNAPPY_ALGORITHM
+#ifndef UNIV_INNOCHECKSUM
/**********************************************************************//**
Reads the page compression level from the first page of a tablespace.
@return page compression level, or 0 if uncompressed */
@@ -67,6 +68,7 @@ atomic_writes_t
fsp_flags_get_atomic_writes(
/*========================*/
ulint flags); /*!< in: tablespace flags */
+#endif /* !UNIV_INNOCHECKSUM */
#ifndef UNIV_NONINL
#include "fsp0pagecompress.ic"