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

Method alloc_auth

sql/sql_acl.cc:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 longlong password_lifetime;
197
198 bool alloc_auth(MEM_ROOT *root, uint n)
199 {
200 return !(auth= (AUTH*) alloc_root(root, (nauth= n)*sizeof(AUTH)));
201 }
202 Lex_ident_host hostname() const
203 {
204 DBUG_ASSERT(host.hostname[hostname_length] == '\0');

Callers 3

get_authMethod · 0.80
get_authMethod · 0.80
acl_user_updateFunction · 0.80

Calls 1

alloc_rootFunction · 0.85

Tested by

no test coverage detected