#At file:///home/thek/Development/cpp/mysqlbzr/mysql-5.0-bugteam/
2650 Kristofer Pettersson 2008-07-29
Bug#37781 mysql_drop_user calls get_current_user() twice for no reason
Fixed typo and removed duplicate call to get_current_user.
modified:
sql/sql_acl.cc
=== modified file 'sql/sql_acl.cc'
--- a/sql/sql_acl.cc 2008-07-15 14:13:21 +0000
+++ b/sql/sql_acl.cc 2008-07-29 13:37:09 +0000
@@ -5430,7 +5430,6 @@ bool mysql_drop_user(THD *thd, List <LEX
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;
| Thread |
|---|
| • bzr commit into mysql-5.0 branch (kpettersson:2650) Bug#37781 | Kristofer Pettersson | 29 Jul |