An addition to fix for
BUG#41597 - After rename of user, there are additional grants when grants are reapplied. Fixed build failure on Windows. Added missing cast. sql/sql_acl.cc: Fixed build failure on Windows. Added missing cast.
This commit is contained in:
parent
19ffe23085
commit
eeee91173e
@ -5206,8 +5206,8 @@ static int handle_grant_struct(uint struct_no, bool drop,
|
||||
is renamed, the hash key is changed. Update the hash to
|
||||
ensure that the position matches the new hash key value
|
||||
*/
|
||||
hash_update(&column_priv_hash, (byte *)grant_name,
|
||||
grant_name->hash_key, grant_name->key_length);
|
||||
hash_update(&column_priv_hash, (byte*) grant_name,
|
||||
(byte *) grant_name->hash_key, grant_name->key_length);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user