MySQL 8.0.40
Source Code Documentation
buf_buddy_free_t Struct Reference

Struct that is embedded in the free zip blocks. More...

#include <buf0buf.h>

Public Member Functions

 UT_LIST_NODE_T (buf_buddy_free_t) list
 Node of zip_free list. More...
 

Public Attributes

union {
   ulint   size
 size of the block More...
 
   byte   bytes [FIL_PAGE_DATA]
 stamp[FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID] == BUF_BUDDY_FREE_STAMP denotes a free block. More...
 
stamp
 
buf_page_t bpage
 Embedded bpage descriptor. More...
 

Detailed Description

Struct that is embedded in the free zip blocks.

Member Function Documentation

◆ UT_LIST_NODE_T()

buf_buddy_free_t::UT_LIST_NODE_T ( buf_buddy_free_t  )

Node of zip_free list.

Member Data Documentation

◆ bpage

buf_page_t buf_buddy_free_t::bpage

Embedded bpage descriptor.

◆ bytes

byte buf_buddy_free_t::bytes[FIL_PAGE_DATA]

stamp[FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID] == BUF_BUDDY_FREE_STAMP denotes a free block.

If the space_id field of buddy block != BUF_BUDDY_FREE_STAMP, the block is not in any zip_free list. If the space_id is BUF_BUDDY_FREE_STAMP then stamp[0] will contain the buddy block size.

◆ size

ulint buf_buddy_free_t::size

size of the block

◆ 

union { ... } buf_buddy_free_t::stamp

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