Skip to content

Commit b83855a

Browse files
author
Jan Lindström
committed
Fix innochecksum build failure.
1 parent 5355972 commit b83855a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

storage/innobase/include/page0zip.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,21 @@ from outside the buffer pool.
545545
# define UNIV_INLINE UNIV_INLINE_ORIGINAL
546546
#endif
547547

548+
#ifdef UNIV_INNOCHECKSUM
549+
/** Issue a warning when the checksum that is stored in the page is valid,
550+
but different than the global setting innodb_checksum_algorithm.
551+
@param[in] current_algo current checksum algorithm
552+
@param[in] page_checksum page valid checksum
553+
@param[in] space_id tablespace id
554+
@param[in] page_no page number */
555+
void
556+
page_warn_strict_checksum(
557+
srv_checksum_algorithm_t curr_algo,
558+
srv_checksum_algorithm_t page_checksum,
559+
ulint space_id,
560+
ulint page_no);
561+
#endif /* UNIV_INNOCHECKSUM */
562+
548563
#ifndef UNIV_INNOCHECKSUM
549564
#ifndef UNIV_NONINL
550565
# include "page0zip.ic"

0 commit comments

Comments
 (0)