1
0
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:
Sergei Golubchik
2013-10-18 12:19:37 -07:00
parent b2f16628cf
commit 7dda698734
30 changed files with 163 additions and 299 deletions

View File

@ -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");