24#ifndef DYNAMIC_ARRAY_INCLUDED
25#define DYNAMIC_ARRAY_INCLUDED
40 uint element_size,
void *init_buffer,
41 uint init_alloc, uint alloc_increment);
42#define dynamic_element(array, array_index, type) \
43 ((type)((array)->buffer) + (array_index))
void * alloc_dynamic(DYNAMIC_ARRAY *array)
Definition: array.cc:142
bool my_init_dynamic_array(DYNAMIC_ARRAY *array, PSI_memory_key key, uint element_size, void *init_buffer, uint init_alloc, uint alloc_increment)
Definition: array.cc:70
bool insert_dynamic(DYNAMIC_ARRAY *array, const void *element)
Definition: array.cc:113
void delete_dynamic(DYNAMIC_ARRAY *array)
Definition: array.cc:177
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
uchar * buffer
Definition: array.h:31
uint elements
Definition: array.h:32
uint size_of_element
Definition: array.h:34
uint alloc_increment
Definition: array.h:33
uint max_element
Definition: array.h:32
PSI_memory_key m_psi_key
Definition: array.h:35
#define PSI_NOT_INSTRUMENTED
Definition: validate_password_imp.cc:44