MCPcopy Create free account
hub / github.com/MariaDB/server / init_sql_alloc

Function init_sql_alloc

sql/thr_malloc.cc:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void init_sql_alloc(PSI_memory_key key, MEM_ROOT *mem_root, uint block_size,
62 uint pre_alloc, myf my_flags)
63{
64 init_alloc_root(key, mem_root, block_size, pre_alloc, my_flags);
65 mem_root->error_handler=sql_alloc_error_handler;
66}
67
68
69char *sql_strmake_with_convert(THD *thd, const char *str, size_t arg_length,

Callers 15

servers_initFunction · 0.85
servers_loadFunction · 0.85
get_local_tableMethod · 0.85
re_create_par_fileMethod · 0.85
Master_infoMethod · 0.85
alloc_table_shareFunction · 0.85
init_tmp_table_shareFunction · 0.85
open_table_from_shareFunction · 0.85
initMethod · 0.85
TABLE_STATISTICS_CBMethod · 0.85
createMethod · 0.85
executeMethod · 0.85

Calls 1

init_alloc_rootFunction · 0.85

Tested by 1

test_quick_selectMethod · 0.68