MySQL 8.3.0
Source Code Documentation
Buf_fetch_other Struct Reference
Inheritance diagram for Buf_fetch_other:

Public Member Functions

 Buf_fetch_other (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_other >
 Buf_fetch (const page_id_t &page_id, const page_size_t &page_size) noexcept
 Constructor. More...
buf_block_tsingle_page ()
 For fetching a single page. More...

Additional Inherited Members

- Public Attributes inherited from Buf_fetch< Buf_fetch_other >
const page_id_tm_page_id
 ID of page to lookup. More...
const page_size_tm_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...
 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...
 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...
 Buffer pool to fetch from. More...
 Hash table lock. More...
friend T

Constructor & Destructor Documentation

◆ Buf_fetch_other()

Buf_fetch_other::Buf_fetch_other ( const page_id_t page_id,
const page_size_t page_size 


[in]page_idPage ID of page to fetch.
[in]page_sizeSize of page on disk.

Member Function Documentation

◆ get()

dberr_t Buf_fetch_other::get ( buf_block_t *&  block)

Fetch a block from the hash table or read from disk if necessary.

[out]blockBlock to fetch.
DB_SUCCESS or error code.

The documentation for this struct was generated from the following file: