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

Function thd_make_lex_string

sql/sql_class.cc:1255–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253
1254extern "C"
1255LEX_CSTRING *thd_make_lex_string(const THD *thd, LEX_CSTRING *lex_str,
1256 const char *str, size_t size,
1257 int allocate_lex_string)
1258{
1259 return allocate_lex_string ? thd->make_clex_string(str, size)
1260 : thd->make_lex_string(lex_str, str, size);
1261}
1262
1263extern "C"
1264void *thd_memdup(const MYSQL_THD thd, const void* str, size_t size)

Callers 2

get_foreign_key_infoFunction · 0.85

Calls 2

make_clex_stringMethod · 0.80
make_lex_stringMethod · 0.80

Tested by

no test coverage detected