23#ifndef THR_MALLOC_INCLUDED
24#define THR_MALLOC_INCLUDED
42 size_t *result_length);
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:48
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1085
required string key
Definition: replication_asynchronous_connection_failover.proto:59
Definition: m_ctype.h:422
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:82
void init_sql_alloc(PSI_memory_key key, MEM_ROOT *root, size_t block_size)
Definition: thr_malloc.cc:45
thread_local MEM_ROOT ** THR_MALLOC
Definition: mysqld.cc:1573
char * sql_strmake_with_convert(const char *str, size_t arg_length, const CHARSET_INFO *from_cs, size_t max_res_length, const CHARSET_INFO *to_cs, size_t *result_length)
Definition: thr_malloc.cc:78
unsigned int PSI_memory_key
Definition: thr_malloc.h:29
void * sql_calloc(size_t)
Definition: thr_malloc.cc:50
void * sql_memdup(const void *ptr, size_t size)
Definition: thr_malloc.cc:72
char * sql_strmake(const char *str, size_t len)
Definition: thr_malloc.cc:63
char * sql_strdup(const char *str)
Definition: thr_malloc.cc:56