uint32_t space_id_t
Tablespace identifier.
Definition: api0api.h:52
uint32_t page_no_t
Page number.
Definition: api0api.h:50
The database buffer pool high-level routines.
static buf_frame_t * buf_block_get_frame(const buf_block_t *block)
Gets a pointer to the memory frame of a block.
page_id_t id
Page id.
Definition: buf0buf.h:1319
Page identifier.
Definition: buf0types.h:207
page_no_t page_no() const
Retrieve the page number.
Definition: buf0types.h:243
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
The low-level file system.
uint16_t page_type_t
Definition: fil0fil.h:1193
constexpr page_no_t FIL_NULL
'null' (undefined) page offset in the context of file spaces
Definition: fil0fil.h:1131
constexpr uint32_t FIL_PAGE_TYPE
file page type: FIL_PAGE_INDEX,..., 2 bytes.
Definition: fil0types.h:76
constexpr uint32_t FIL_PAGE_SPACE_ID
alias for space id
Definition: fil0types.h:108
constexpr uint32_t FIL_PAGE_NEXT
if there is a 'natural' successor of the page, its offset.
Definition: fil0types.h:61
File-based list utilities.
byte flst_node_t
Definition: fut0lst.h:47
static uint16_t mach_read_from_2(const byte *b)
The following function is used to fetch data from 2 consecutive bytes.
static uint32_t mach_read_from_4(const byte *b)
The following function is used to fetch data from 4 consecutive bytes.
static void mach_write_to_4(byte *b, ulint n)
The following function is used to store data in 4 consecutive bytes.
void mlog_write_ulint(byte *ptr, ulint val, mlog_id_t type, mtr_t *mtr)
Writes 1, 2 or 4 bytes to a file page.
Definition: mtr0log.cc:256
#define mtr_memo_contains(m, o, t)
Check if memo contains the given item.
Definition: mtr0mtr.h:107
@ MLOG_4BYTES
4 bytes ...
Definition: mtr0types.h:76
@ MTR_MEMO_PAGE_X_FIX
Definition: mtr0types.h:273
@ MTR_MEMO_PAGE_S_FIX
Definition: mtr0types.h:271
Provides the large objects (LOB) module.
Definition: lob0del.h:32
bool entry_visible_to(dict_index_t *index, trx_t *trx, trx_id_t entry_trx_id)
Check if the index entry is visible to the given transaction.
const uint32_t MAX_PARTIAL_UPDATE_LIMIT
Number of times an LOB can be partially updated.
Definition: lob0util.h:40
buf_block_t * alloc_lob_page(dict_index_t *index, mtr_t *lob_mtr, page_no_t hint, bool bulk)
Allocate one LOB page.
Definition: lob0util.cc:47
The buffer control block structure.
Definition: buf0buf.h:1690
buf_page_t page
page information; this must be the first field, so that buf_pool->page_hash can point to buf_page_t o...
Definition: buf0buf.h:1696
Data structure for an index.
Definition: dict0mem.h:1046
File space address.
Definition: fil0fil.h:1148
uint32_t boffset
Byte offset within the page.
Definition: fil0fil.h:1180
page_no_t page
Page number within a space.
Definition: fil0fil.h:1177
bool is_null() const
Check if the file address is null.
Definition: fil0fil.h:1166
Definition: lob0util.h:42
basic_page_t(buf_block_t *block, mtr_t *mtr)
Definition: lob0util.h:45
mtr_t * m_mtr
Definition: lob0util.h:129
buf_block_t * get_block() const noexcept
Get the underlying buffer block.
Definition: lob0util.h:133
basic_page_t(buf_block_t *block, mtr_t *mtr, dict_index_t *index)
Definition: lob0util.h:48
dict_index_t * m_index
Definition: lob0util.h:130
page_type_t get_page_type() const
Definition: lob0util.h:95
buf_block_t * m_block
Definition: lob0util.h:128
page_no_t get_page_no() const
Get page number of the current page.
Definition: lob0util.h:60
void set_space_id_no_redo(space_id_t space_id)
Update the space identifier to given value without generating any redo log records.
Definition: lob0util.h:54
page_id_t get_page_id() const
Get the page id of the current page.
Definition: lob0util.h:67
page_no_t get_next_page()
Definition: lob0util.h:91
void set_next_page(page_no_t page_no, mtr_t *mtr)
Set the FIL_PAGE_NEXT to the given page number, using the given mini transaction context.
Definition: lob0util.h:76
basic_page_t()
Definition: lob0util.h:43
void set_mtr(mtr_t *mtr)
Definition: lob0util.h:125
void set_block(buf_block_t *block)
Definition: lob0util.h:118
void set_next_page_null()
Set the FIL_PAGE_NEXT to FIL_NULL.
Definition: lob0util.h:85
void set_next_page(page_no_t page_no)
Set the FIL_PAGE_NEXT to the given page number.
Definition: lob0util.h:82
ulint max_space_available()
flst_node_t * get_flst_node(const fil_addr_t &addr)
Definition: lob0util.h:101
byte * frame() const
Definition: lob0util.h:99
Mini-transaction handle and buffer.
Definition: mtr0mtr.h:177
Definition: trx0trx.h:675
ib_id_t trx_id_t
Transaction identifier (DB_TRX_ID, DATA_TRX_ID)
Definition: trx0types.h:138
unsigned long int ulint
Definition: univ.i:406
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:69