MySQL 8.4.3
Source Code Documentation
|
#include "sql/thr_malloc.h"
#include <string.h>
#include <sys/types.h>
#include <algorithm>
#include "my_alloc.h"
#include "my_macros.h"
#include "my_sys.h"
#include "mysql/strings/m_ctype.h"
#include "sql/mysqld.h"
#include "sql/psi_memory_key.h"
#include "sql_string.h"
Functions | |
void | sql_alloc_error_handler (void) |
void | init_sql_alloc (PSI_memory_key key, MEM_ROOT *mem_root, size_t block_size) |
void * | sql_calloc (size_t size) |
char * | sql_strdup (const char *str) |
char * | sql_strmake (const char *str, size_t len) |
void * | sql_memdup (const void *ptr, 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) |
void init_sql_alloc | ( | PSI_memory_key | key, |
MEM_ROOT * | mem_root, | ||
size_t | block_size | ||
) |
void sql_alloc_error_handler | ( | void | ) |
void * sql_calloc | ( | size_t | size | ) |
void * sql_memdup | ( | const void * | ptr, |
size_t | len | ||
) |
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 | ||
) |