mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Removed unused hash search.
This commit is contained in:
committed by
Sergei Golubchik
parent
9dcc6430b8
commit
82a5464a6c
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user