InnoDB Plugin
1.0
|
A block in a dynamically allocated array. NOTE! Do not access the fields of the struct directly: the definition appears here only for the compiler to know its size! More...
#include <dyn0dyn.h>
Data Fields | |
mem_heap_t * | heap |
ulint | used |
byte | data [DYN_ARRAY_DATA_SIZE] |
ut_list_base< dyn_block_t > | base |
ut_list_node< dyn_block_t > | list |
ulint | buf_end |
ulint | magic_n |
A block in a dynamically allocated array. NOTE! Do not access the fields of the struct directly: the definition appears here only for the compiler to know its size!
ut_list_base< dyn_block_t > dyn_block_t::base |
linear list of dyn blocks: this node is used only in the first block
ulint dyn_block_t::buf_end |
only in the debug version: if dyn array is opened, this is the buffer end offset, else this is 0
byte dyn_block_t::data[DYN_ARRAY_DATA_SIZE] |
storage for array elements
mem_heap_t* dyn_block_t::heap |
in the first block this is != NULL if dynamic allocation has been needed
ut_list_node< dyn_block_t > dyn_block_t::list |
linear list node: used in all blocks
ulint dyn_block_t::magic_n |
magic number (DYN_BLOCK_MAGIC_N)
ulint dyn_block_t::used |
number of data bytes used in this block; DYN_BLOCK_FULL_FLAG is set when the block becomes full