diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-06 12:24:36 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-06 21:25:43 +0300 |
commit | 56df18be65ffa007a4d2c20413d69aac0bb0bdbd (patch) | |
tree | 514b44baccc6b7d176308e965321c15abf6e5025 /storage/innobase/include | |
parent | 71f9552fd83ad155d541b2c2aa7c835f93cc47d3 (diff) | |
download | mariadb-git-56df18be65ffa007a4d2c20413d69aac0bb0bdbd.tar.gz |
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.
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/fsp0fsp.h | 15 |
1 files changed, 5 insertions, 10 deletions
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. */ |