24#ifndef THR_MALLOC_INCLUDED
25#define THR_MALLOC_INCLUDED
43 size_t *result_length);
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1052
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Definition: m_ctype.h:385
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
void init_sql_alloc(PSI_memory_key key, MEM_ROOT *root, size_t block_size)
Definition: thr_malloc.cc:46
thread_local MEM_ROOT ** THR_MALLOC
Definition: mysqld.cc:1560
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:79
unsigned int PSI_memory_key
Definition: thr_malloc.h:30
void * sql_calloc(size_t)
Definition: thr_malloc.cc:51
void * sql_memdup(const void *ptr, size_t size)
Definition: thr_malloc.cc:73
char * sql_strmake(const char *str, size_t len)
Definition: thr_malloc.cc:64
char * sql_strdup(const char *str)
Definition: thr_malloc.cc:57