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

Method copy

sql/sql_class.cc:8971–8979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8969
8970
8971void AUTHID::copy(MEM_ROOT *mem_root, const LEX_CSTRING *user_name,
8972 const LEX_CSTRING *host_name)
8973{
8974 user.str= strmake_root(mem_root, user_name->str, user_name->length);
8975 user.length= user_name->length;
8976
8977 host.str= strmake_root(mem_root, host_name->str, host_name->length);
8978 host.length= host_name->length;
8979}
8980
8981
8982/*

Callers 1

convert_stringMethod · 0.45

Calls 1

strmake_rootFunction · 0.85

Tested by

no test coverage detected