MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mem_block_info_t Struct Reference

#include <mem0mem.h>

Public Member Functions

 UT_LIST_BASE_NODE_T (mem_block_t) base
 UT_LIST_NODE_T (mem_block_t) list

Public Attributes

ulint magic_n
char file_name [8]
ulint line
ulint len
ulint total_size
ulint type
ulint free
ulint start
void * free_block
void * buf_block

Detailed Description

The info structure stored at the beginning of a heap block

Definition at line 338 of file mem0mem.h.

Member Data Documentation

ulint mem_block_info_t::free

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

Definition at line 355 of file mem0mem.h.

ulint mem_block_info_t::len

physical length of this block in bytes

Definition at line 349 of file mem0mem.h.

ulint mem_block_info_t::line

line number where the mem heap was created

Definition at line 341 of file mem0mem.h.

ulint mem_block_info_t::start

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

Definition at line 357 of file mem0mem.h.

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.

Definition at line 350 of file mem0mem.h.

ulint mem_block_info_t::type

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

Definition at line 353 of file mem0mem.h.


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