diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 49a75b921a3..d04a81e2b0a 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -5211,8 +5211,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; } }