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
8c7ca88a
Commit
8c7ca88a
authored
Oct 18, 2013
by
Vicențiu Ciorbaru
Committed by
Sergei Golubchik
Oct 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comment for database privilege checks.
parent
f2ab6619
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
sql/sql_acl.cc
sql/sql_acl.cc
+1
-0
No files found.
sql/sql_acl.cc
View file @
8c7ca88a
...
...
@@ -2250,6 +2250,7 @@ ulong acl_get(const char *host, const char *ip,
db_access
=
acl_db
->
access
;
if
(
acl_db
->
host
.
hostname
)
goto
exit
;
// Fully specified. Take it
/* the host table is not used for roles */
if
((
!
host
||
!
host
[
0
])
&&
!
acl_db
->
host
.
hostname
&&
find_acl_role
(
user
))
goto
exit
;
break
;
/* purecov: tested */
...
...
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