We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b7bc78 commit 344f004Copy full SHA for 344f004
sql/auth/sql_auth_cache.cc
@@ -271,7 +271,7 @@ ACL_PROXY_USER::check_validity(bool check_no_resolve)
271
if (check_no_resolve &&
272
(hostname_requires_resolving(host.get_host()) ||
273
hostname_requires_resolving(proxied_host.get_host())) &&
274
- strcmp(host.get_host() ? host.get_host() : "", "localhost") != 0) {
+ strcmp(host.get_host(), "localhost") != 0) {
275
sql_print_warning("'proxies_priv' entry '%s@%s %s@%s' "
276
"ignored in --skip-name-resolve mode.",
277
proxied_user ? proxied_user : "",
0 commit comments