MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / thd_make_lex_string

Function thd_make_lex_string

sql/sql_class.cc:847–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845
846extern "C"
847LEX_STRING *thd_make_lex_string(THD *thd, LEX_STRING *lex_str,
848 const char *str, unsigned int size,
849 int allocate_lex_string)
850{
851 return thd->make_lex_string(lex_str, str, size,
852 (bool) allocate_lex_string);
853}
854
855extern "C"
856void *thd_memdup(MYSQL_THD thd, const void* str, unsigned int size)

Callers

nothing calls this directly

Calls 1

make_lex_stringMethod · 0.80

Tested by

no test coverage detected