MySQL 8.4.2
Source Code Documentation
|
#include <stddef.h>
Go to the source code of this file.
Typedefs | |
typedef unsigned int | PSI_memory_key |
Functions | |
void | init_sql_alloc (PSI_memory_key key, MEM_ROOT *root, size_t block_size) |
void * | sql_calloc (size_t) |
char * | sql_strdup (const char *str) |
char * | sql_strmake (const char *str, size_t len) |
void * | sql_memdup (const void *ptr, size_t size) |
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) |
Variables | |
thread_local MEM_ROOT ** | THR_MALLOC |
typedef unsigned int PSI_memory_key |
void init_sql_alloc | ( | PSI_memory_key | key, |
MEM_ROOT * | root, | ||
size_t | block_size | ||
) |
void * sql_calloc | ( | size_t | size | ) |
void * sql_memdup | ( | const void * | ptr, |
size_t | size | ||
) |
char * sql_strdup | ( | const char * | str | ) |
char * sql_strmake | ( | const char * | str, |
size_t | len | ||
) |
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 | ||
) |
|
extern |