Removed unused hash search.

This commit is contained in:
Vicențiu Ciorbaru 2013-10-17 20:50:06 -07:00 committed by Sergei Golubchik
parent 9dcc6430b8
commit 82a5464a6c

View file

@ -1144,9 +1144,6 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables)
/* set initial role access the same as the table row privileges */
entry->initial_role_access = entry->access;
my_hash_insert(&acl_roles, (uchar *)entry);
HASH_SEARCH_STATE t;
entry= (ACL_USER *) my_hash_first(&acl_roles,
(uchar *)entry->user.str, entry->user.length, &t);
continue;
}