Commit f0dfb82f authored by Kristofer Pettersson's avatar Kristofer Pettersson

Bug#37781 mysql_drop_user calls get_current_user() twice for no reason

Fixed typo and removed duplicate call to get_current_user.
parent 0b918cfd
......@@ -5430,7 +5430,6 @@ bool mysql_drop_user(THD *thd, List <LEX_USER> &list)
while ((tmp_user_name= user_list++))
{
user_name= get_current_user(thd, tmp_user_name);
if (!(user_name= get_current_user(thd, tmp_user_name)))
{
result= TRUE;
......
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