Commit 33359d0b authored by unknown's avatar unknown

Remove not used variable

parent bfa22229
...@@ -3035,7 +3035,7 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user) ...@@ -3035,7 +3035,7 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user)
/* Add database access */ /* Add database access */
for (counter=0 ; counter < acl_dbs.elements ; counter++) for (counter=0 ; counter < acl_dbs.elements ; counter++)
{ {
const char *user,*host; const char *user, *host;
acl_db=dynamic_element(&acl_dbs,counter,ACL_DB*); acl_db=dynamic_element(&acl_dbs,counter,ACL_DB*);
if (!(user=acl_db->user)) if (!(user=acl_db->user))
...@@ -3096,7 +3096,7 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user) ...@@ -3096,7 +3096,7 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user)
/* Add table & column access */ /* Add table & column access */
for (index=0 ; index < hash_tables.records ; index++) for (index=0 ; index < hash_tables.records ; index++)
{ {
const char *user,*host; const char *user;
GRANT_TABLE *grant_table= (GRANT_TABLE*) hash_element(&hash_tables,index); GRANT_TABLE *grant_table= (GRANT_TABLE*) hash_element(&hash_tables,index);
if (!(user=grant_table->user)) if (!(user=grant_table->user))
......
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