MCPcopy Create free account
hub / github.com/Tencent/phxsql / check_get_key

Function check_get_key

phx_percona/percona/sql/sql_acl.cc:1906–1911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1904}
1905
1906static uchar* check_get_key(ACL_USER *buff, size_t *length,
1907 my_bool not_used MY_ATTRIBUTE((unused)))
1908{
1909 *length=buff->host.get_host_len();
1910 return (uchar*) buff->host.get_host();
1911}
1912
1913
1914static void acl_update_user(const char *user, const char *host,

Callers

nothing calls this directly

Calls 2

get_host_lenMethod · 0.80
get_hostMethod · 0.80

Tested by

no test coverage detected