Browse Source
Fix for Bug #41597 - After rename of user, there are additional grants when
Fix for Bug #41597 - After rename of user, there are additional grants when
grants are reapplied. After renaming a user and trying to re-apply grants results in additional grants. This is because we use username as part of the key for GRANT_TABLE structure. When the user is renamed, we only change the username stored and the hash key still contains the old user name and this results in the extra privileges Fixed by rebuilding the hash key and updating the column_priv_hash structure when the user is renamedpull/47/merge
3 changed files with 107 additions and 12 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue