![]() |
MySQL 9.5.0
Source Code Documentation
|
Handling of arrays that can grow dynamically. More...
#include <sys/types.h>#include <cstring>#include <algorithm>#include "my_alloc.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_macros.h"#include "my_sys.h"#include "mysql/psi/psi_memory.h"#include "mysql/service_mysql_alloc.h"#include "storage/myisam/array.h"Functions | |
| bool | my_init_dynamic_array (DYNAMIC_ARRAY *array, PSI_memory_key psi_key, uint element_size, void *init_buffer, uint init_alloc, uint alloc_increment) |
| bool | insert_dynamic (DYNAMIC_ARRAY *array, const void *element) |
| void * | alloc_dynamic (DYNAMIC_ARRAY *array) |
| void | delete_dynamic (DYNAMIC_ARRAY *array) |
Handling of arrays that can grow dynamically.
| void * alloc_dynamic | ( | DYNAMIC_ARRAY * | array | ) |
| void delete_dynamic | ( | DYNAMIC_ARRAY * | array | ) |
| bool insert_dynamic | ( | DYNAMIC_ARRAY * | array, |
| const void * | element | ||
| ) |
| bool my_init_dynamic_array | ( | DYNAMIC_ARRAY * | array, |
| PSI_memory_key | psi_key, | ||
| uint | element_size, | ||
| void * | init_buffer, | ||
| uint | init_alloc, | ||
| uint | alloc_increment | ||
| ) |