Commit 82a5464a authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru Committed by Sergei Golubchik

Removed unused hash search.

parent 9dcc6430
...@@ -1144,9 +1144,6 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables) ...@@ -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 */ /* set initial role access the same as the table row privileges */
entry->initial_role_access = entry->access; entry->initial_role_access = entry->access;
my_hash_insert(&acl_roles, (uchar *)entry); 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; continue;
} }
......
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