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

Removed no longer needed hash_walk_action. The function was used to delete

no longer valid entries in the roles_mappings HASH. This job will be delegated
to handle_grant_* functions
parent 6988e6c5
......@@ -2066,16 +2066,6 @@ my_bool add_role_user_mapping(ROLE_GRANT_PAIR *mapping)
}
static my_bool roles_mappings_walk_action(ROLE_GRANT_PAIR *mapping,
void * not_used __attribute__((unused)))
{
if (add_role_user_mapping(mapping)) {
//the mapping is invalid, the mapping can be safely deleted
my_hash_delete(&acl_roles_mappings, (uchar*) mapping);
}
return 0;
}
/*
Rebuild the role grants every time the acl_users is modified
......
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