MySQL 8.0.40
Source Code Documentation
|
Public Member Functions | |
Buf_fetch_normal (const page_id_t &page_id, const page_size_t &page_size) | |
Constructor. More... | |
dberr_t | get (buf_block_t *&block) noexcept |
Fetch a block from the hash table or read from disk if necessary. More... | |
Public Member Functions inherited from Buf_fetch< Buf_fetch_normal > | |
Buf_fetch (const page_id_t &page_id, const page_size_t &page_size) noexcept | |
Constructor. More... | |
buf_block_t * | single_page () |
For fetching a single page. More... | |
Additional Inherited Members | |
Public Attributes inherited from Buf_fetch< Buf_fetch_normal > | |
const page_id_t & | m_page_id |
ID of page to lookup. More... | |
const page_size_t & | m_page_size |
Size of page on disk. More... | |
const bool | m_is_temp_space |
true if page belongs to a temporary tablespace. More... | |
ulint | m_rw_latch |
Latch mode required on the page. More... | |
buf_block_t * | m_guess |
Hint about page to fetch. More... | |
Page_fetch | m_mode |
Fetch mode. More... | |
const char * | m_file |
File from where called. More... | |
ulint | m_line |
Line number in file from where called. More... | |
mtr_t * | m_mtr |
Mini-transaction covering the fetch. More... | |
bool | m_dirty_with_no_latch |
Mark page as dirty even if page is being pinned without any latch. More... | |
size_t | m_retries |
Number of retries before giving up. More... | |
buf_pool_t * | m_buf_pool |
Buffer pool to fetch from. More... | |
rw_lock_t * | m_hash_lock |
Hash table lock. More... | |
friend | T |
|
inline |
Constructor.
[in] | page_id | Page ID of page to fetch. |
[in] | page_size | Size of page on disk. |
|
noexcept |
Fetch a block from the hash table or read from disk if necessary.
[out] | block | Block to fetch. |