From 56df18be65ffa007a4d2c20413d69aac0bb0bdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Sat, 6 Apr 2019 12:24:36 +0300 Subject: Clean up the parsing of MLOG_INIT_FILE_PAGE2 fsp_apply_init_file_page(): Renamed from fsp_init_file_page_low(). fsp_parse_init_file_page(): Remove. The redo log record has no parameters. --- storage/innobase/include/fsp0fsp.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'storage/innobase/include') diff --git a/storage/innobase/include/fsp0fsp.h b/storage/innobase/include/fsp0fsp.h index 8b9bbba5239..6f2fbff2174 100644 --- a/storage/innobase/include/fsp0fsp.h +++ b/storage/innobase/include/fsp0fsp.h @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2013, 2017, MariaDB Corporation. +Copyright (c) 2013, 2019, MariaDB Corporation. 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 @@ -684,15 +684,10 @@ fsp_descr_page( const page_id_t page_id, const page_size_t& page_size); -/***********************************************************//** -Parses a redo log record of a file page init. -@return end of log record or NULL */ -byte* -fsp_parse_init_file_page( -/*=====================*/ - byte* ptr, /*!< in: buffer */ - byte* end_ptr, /*!< in: buffer end */ - buf_block_t* block); /*!< in: block or NULL */ +/** Initialize a file page whose prior contents should be ignored. +@param[in,out] block buffer pool block */ +void fsp_apply_init_file_page(buf_block_t* block); + #ifdef UNIV_BTR_PRINT /*******************************************************************//** Writes info of a segment. */ -- cgit v1.2.1