Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ sql_alloc
Function
sql_alloc
sql/thr_malloc.cc:38–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
38
void *sql_alloc(size_t Size)
39
{
40
MEM_ROOT *root= *my_pthread_getspecific_ptr(MEM_ROOT**,THR_MALLOC);
41
return alloc_root(root,Size);
42
}
43
44
45
void *sql_calloc(size_t size)
Callers
15
sql_calloc
Function · 0.85
sql_strdup
Function · 0.85
sql_strmake
Function · 0.85
sql_memdup
Function · 0.85
sql_strmake_with_convert
Function · 0.85
set_arguments
Method · 0.85
operator new
Method · 0.85
Item_func
Method · 0.85
add_backpatch_entry
Method · 0.85
operator new
Method · 0.85
operator new
Method · 0.85
operator new
Method · 0.85
Calls
1
alloc_root
Function · 0.85
Tested by
no test coverage detected