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

Method check_validity

sql/sql_acl.cc:429–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 }
428
429 bool check_validity()
430 {
431 if (opt_skip_name_resolve &&
432 (hostname_requires_resolving(host.hostname) ||
433 hostname_requires_resolving(proxied_host.hostname)))
434 {
435 sql_print_warning("'proxies_priv' entry '%s@%s %s@%s' "
436 "ignored in --skip-name-resolve mode.",
437 proxied_user,
438 safe_str(proxied_host.hostname), user,
439 safe_str(host.hostname));
440 return TRUE;
441 }
442 return FALSE;
443 }
444
445 bool matches(const char *host_arg, const char *user_arg, const char *ip_arg,
446 const char *proxied_user_arg)

Callers 1

acl_loadFunction · 0.80

Calls 3

safe_strFunction · 0.85
sql_print_warningFunction · 0.70

Tested by

no test coverage detected