MySQL  8.0.22
Source Code Documentation
mem_block_info_t Struct Reference

The info structure stored at the beginning of a heap block. More...

#include <mem0mem.h>

Public Attributes

uint64_t magic_n
 
char file_name [16]
 
ulint line
 line number where the mem heap was created More...
 
 base
 
 list
 
ulint len
 physical length of this block in bytes More...
 
ulint total_size
 physical length in bytes of all blocks in the heap. More...
 
ulint type
 type of heap: MEM_HEAP_DYNAMIC, or MEM_HEAP_BUF possibly ORed to MEM_HEAP_BTR_SEARCH More...
 
ulint free
 offset in bytes of the first free position for user data in the block More...
 
ulint start
 the value of the struct field 'free' at the creation of the block More...
 
void * free_block
 
void * buf_block
 

Detailed Description

The info structure stored at the beginning of a heap block.

Member Data Documentation

◆ base

mem_block_info_t::base

◆ buf_block

void* mem_block_info_t::buf_block

◆ file_name

char mem_block_info_t::file_name[16]

◆ free

ulint mem_block_info_t::free

offset in bytes of the first free position for user data in the block

◆ free_block

void* mem_block_info_t::free_block

◆ len

ulint mem_block_info_t::len

physical length of this block in bytes

◆ line

ulint mem_block_info_t::line

line number where the mem heap was created

◆ list

mem_block_info_t::list

◆ magic_n

uint64_t mem_block_info_t::magic_n

◆ start

ulint mem_block_info_t::start

the value of the struct field 'free' at the creation of the block

◆ total_size

ulint mem_block_info_t::total_size

physical length in bytes of all blocks in the heap.

This is defined only in the base node and is set to ULINT_UNDEFINED in others.

◆ type

ulint mem_block_info_t::type

type of heap: MEM_HEAP_DYNAMIC, or MEM_HEAP_BUF possibly ORed to MEM_HEAP_BTR_SEARCH


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