MySQL 8.0.30
Source Code Documentation
array.cc File Reference

Handling of arrays that can grow dynamically. More...

#include <string.h>
#include <sys/types.h>
#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"

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)
 

Detailed Description

Handling of arrays that can grow dynamically.