diff options
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index e154d853b33..d17c7148d44 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -202,29 +202,29 @@ struct recv_dblwr_t { } /** Validate the page and check the metadata also - @param[in] space tablespace of page to be validated - @param[in] page_no page number to be validated + @param[in] page_id page id to be validated @param[in] page page to be validated - @param[in] dblwr_page variable to indicate doublewrite - buffer page - @param[in] tmp_buf temporary buffer to decrypt and + @param[in] space tablespace of the page + @param[in,out] tmp_buf temporary buffer to decrypt and decompress the page @return true if success */ - bool validate_page(fil_space_t *space, ulint page_no, - const byte *page, bool dblwr_page=false, - byte *tmp_buf=nullptr); + bool validate_page(const page_id_t page_id, + const byte *page, + const fil_space_t *space, + byte *tmp_buf); /** Find a doublewrite copy of a page. @param[in] space_id tablespace identifier @param[in] page_no page number @param[in] space tablespace object to do dblwr page validation - @param[in] tmp_buf temporary buffer to decrypt and + @param[in,out] tmp_buf temporary buffer to decrypt and decompress the page @return page frame @retval NULL if no page was found */ byte* find_page(ulint space_id, ulint page_no, - fil_space_t *space=nullptr, byte *tmp_buf=nullptr); + const fil_space_t *space=NULL, + byte *tmp_buf=NULL); typedef std::list<byte*, ut_allocator<byte*> > list; |