diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2015-06-16 14:55:21 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2015-06-16 14:55:21 +0300 |
commit | b83855a1c7578775aa288125db22d5731bf2b43d (patch) | |
tree | 9adc6c455ee0d410eadaabf1a1eaf613e996d587 /storage/innobase/include | |
parent | 5355972b716f9b913d62c264e8b98bab54a4fd6f (diff) | |
download | mariadb-git-b83855a1c7578775aa288125db22d5731bf2b43d.tar.gz |
Fix innochecksum build failure.
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/page0zip.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/storage/innobase/include/page0zip.h b/storage/innobase/include/page0zip.h index 6fe6934e35c..0c2abef4b09 100644 --- a/storage/innobase/include/page0zip.h +++ b/storage/innobase/include/page0zip.h @@ -545,6 +545,21 @@ from outside the buffer pool. # define UNIV_INLINE UNIV_INLINE_ORIGINAL #endif +#ifdef UNIV_INNOCHECKSUM +/** Issue a warning when the checksum that is stored in the page is valid, +but different than the global setting innodb_checksum_algorithm. +@param[in] current_algo current checksum algorithm +@param[in] page_checksum page valid checksum +@param[in] space_id tablespace id +@param[in] page_no page number */ +void +page_warn_strict_checksum( + srv_checksum_algorithm_t curr_algo, + srv_checksum_algorithm_t page_checksum, + ulint space_id, + ulint page_no); +#endif /* UNIV_INNOCHECKSUM */ + #ifndef UNIV_INNOCHECKSUM #ifndef UNIV_NONINL # include "page0zip.ic" |