Skip to content

Commit 344f004

Browse files
author
G Manasa
committed
Bug #30972348: ADDING PROXY USER WITH LOCALHOST CRASHES MYSQL
Reverting the patch due to test case failure RB#25070
1 parent 4b7bc78 commit 344f004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/auth/sql_auth_cache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ ACL_PROXY_USER::check_validity(bool check_no_resolve)
271271
if (check_no_resolve &&
272272
(hostname_requires_resolving(host.get_host()) ||
273273
hostname_requires_resolving(proxied_host.get_host())) &&
274-
strcmp(host.get_host() ? host.get_host() : "", "localhost") != 0) {
274+
strcmp(host.get_host(), "localhost") != 0) {
275275
sql_print_warning("'proxies_priv' entry '%s@%s %s@%s' "
276276
"ignored in --skip-name-resolve mode.",
277277
proxied_user ? proxied_user : "",

0 commit comments

Comments
 (0)