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:
Sergey Vojtovich 2009-10-27 12:37:57 +04:00
parent 19ffe23085
commit eeee91173e

View File

@ -5207,7 +5207,7 @@ static int handle_grant_struct(uint struct_no, bool drop,
ensure that the position matches the new hash key value ensure that the position matches the new hash key value
*/ */
hash_update(&column_priv_hash, (byte*) grant_name, hash_update(&column_priv_hash, (byte*) grant_name,
grant_name->hash_key, grant_name->key_length); (byte *) grant_name->hash_key, grant_name->key_length);
break; break;
} }
} }