diff options
author | Sergey Vojtovich <svoj@sun.com> | 2009-10-27 12:37:57 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2009-10-27 12:37:57 +0400 |
commit | eeee91173ec1ce4900fb1a9e3d4e835d79164023 (patch) | |
tree | e7fae1ccd4d50e3e856b948ad11d478a228e8aaa /sql | |
parent | 19ffe2308542735bc37e070bbdf266281ea8156a (diff) | |
download | mariadb-git-eeee91173ec1ce4900fb1a9e3d4e835d79164023.tar.gz |
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.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_acl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 8f1e2c70fe6..720fc659b60 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -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; } } |