Commit 2f45dd04 authored by serg@serg.mylan's avatar serg@serg.mylan

followup to CURRENT_USER() fix

parent dcce21e0
...@@ -225,7 +225,8 @@ static bool check_user(THD *thd,enum_server_command command, const char *user, ...@@ -225,7 +225,8 @@ static bool check_user(THD *thd,enum_server_command command, const char *user,
return 1; return 1;
} }
thd->master_access=acl_getroot(thd, thd->host, thd->ip, thd->user, thd->master_access=acl_getroot(thd, thd->host, thd->ip, thd->user,
passwd, thd->scramble, &thd->priv_user, passwd, thd->scramble,
&thd->priv_user, &thd->priv_host,
protocol_version == 9 || protocol_version == 9 ||
!(thd->client_capabilities & !(thd->client_capabilities &
CLIENT_LONG_PASSWORD),&ur); CLIENT_LONG_PASSWORD),&ur);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment