mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
rename columns in mysql.roles_mapping to be consistent with other privilege tables
This commit is contained in:
@ -8072,10 +8072,10 @@ static int handle_roles_mappings_table(TABLE *table, bool drop,
|
||||
LEX_USER *user_from, LEX_USER *user_to)
|
||||
{
|
||||
/*
|
||||
All entries (HostFK, UserFk) that match user_from will be renamed,
|
||||
as well as all RoleFk entries that match if user_from.host.str == ""
|
||||
All entries (Host, User) that match user_from will be renamed,
|
||||
as well as all Role entries that match if user_from.host.str == ""
|
||||
|
||||
Otherwise, only matching (HostFk, UserFk) will be renamed.
|
||||
Otherwise, only matching (Host, User) will be renamed.
|
||||
*/
|
||||
DBUG_ENTER("handle_roles_mappings_table");
|
||||
|
||||
|
Reference in New Issue
Block a user