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

Method set_host

sql/sql_class.cc:1770–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1768}
1769
1770void Security_context::set_host(const char *str)
1771{
1772 uint len= str ? strlen(str) : 0;
1773 host.set(str, len, system_charset_info);
1774}
1775
1776void Security_context::set_ip(const char *str)
1777{

Callers

nothing calls this directly

Calls 2

c_ptr_quickMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected