![]() |
MySQL 26.7.0
Source Code Documentation
|
A convenience wrapper over the Page_handle (where redo log records are applied). More...
#include <log0redo.h>
Public Member Functions | |
| Page_handle_wrapper (buf_block_t &block) | |
| Page_handle_wrapper (Page_handle_wrapper &&other) noexcept | |
| Page_handle_wrapper (const Page_handle_wrapper &)=delete | |
| ~Page_handle_wrapper () | |
| constexpr buf_block_t & | block () noexcept |
| constexpr Page_handle & | handle () noexcept |
| void | update_block () |
| If it is compressed page then update the compressed page metadata in the block. More... | |
Private Attributes | |
| buf_block_t & | m_block |
| Page_handle | m_page_handle |
| bool | m_need_to_update_block {true} |
A convenience wrapper over the Page_handle (where redo log records are applied).
It initializes the page handle from the buffer block and keep them sane. User must update the block after the redo log records are applied on the page handle.
|
explicit |
|
inlinenoexcept |
|
delete |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| void ib::redo::Page_handle_wrapper::update_block | ( | ) |
If it is compressed page then update the compressed page metadata in the block.
Metadata may have changed during applying the log record
|
private |
|
private |
|
private |