Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2f94e542
Commit
2f94e542
authored
Oct 17, 2013
by
Vicențiu Ciorbaru
Committed by
Sergei Golubchik
Oct 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace + comment fix
parent
7842ef30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_acl.cc
sql/sql_acl.cc
+4
-4
No files found.
sql/sql_acl.cc
View file @
2f94e542
...
...
@@ -6587,7 +6587,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
case
FUNC_PRIVILEGES_HASH
:
{
/*
Save old hash key and its length to be able properly update
Save old hash key and its length to be able
to
properly update
element position in hash.
*/
char
*
old_key
=
grant_name
->
hash_key
;
...
...
@@ -6624,10 +6624,11 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
acl_proxy_user
->
set_user
(
&
mem
,
user_to
->
user
.
str
);
acl_proxy_user
->
set_host
(
&
mem
,
user_to
->
host
.
str
);
break
;
case
ROLES_MAPPINGS_HASH
:
{
/*
Save old hash key and its length to be able properly update
Save old hash key and its length to be able
to
properly update
element position in hash.
*/
char
*
old_key
=
role_grant_pair
->
hashkey
.
str
;
...
...
@@ -6639,8 +6640,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
my_hash_update
(
roles_mappings_hash
,
(
uchar
*
)
role_grant_pair
,
(
uchar
*
)
old_key
,
old_key_length
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment