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
e7277416
Commit
e7277416
authored
Apr 07, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixed
parent
8b4d9677
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sql/table.cc
sql/table.cc
+4
-4
sql/table.h
sql/table.h
+1
-1
No files found.
sql/table.cc
View file @
e7277416
...
...
@@ -4817,7 +4817,7 @@ void TABLE_LIST::register_want_access(ulong want_access)
Load security context information for this view
SYNOPSIS
TABLE_LIST::prepare_view_secur
e
ty_context()
TABLE_LIST::prepare_view_secur
i
ty_context()
thd [in] thread handler
RETURN
...
...
@@ -4826,9 +4826,9 @@ void TABLE_LIST::register_want_access(ulong want_access)
*/
#ifndef NO_EMBEDDED_ACCESS_CHECKS
bool
TABLE_LIST
::
prepare_view_secur
e
ty_context
(
THD
*
thd
)
bool
TABLE_LIST
::
prepare_view_secur
i
ty_context
(
THD
*
thd
)
{
DBUG_ENTER
(
"TABLE_LIST::prepare_view_secur
e
ty_context"
);
DBUG_ENTER
(
"TABLE_LIST::prepare_view_secur
i
ty_context"
);
DBUG_PRINT
(
"enter"
,
(
"table: %s"
,
alias
));
DBUG_ASSERT
(
!
prelocking_placeholder
&&
view
);
...
...
@@ -4935,7 +4935,7 @@ bool TABLE_LIST::prepare_security(THD *thd)
Security_context
*
save_security_ctx
=
thd
->
security_ctx
;
DBUG_ASSERT
(
!
prelocking_placeholder
);
if
(
prepare_view_secur
e
ty_context
(
thd
))
if
(
prepare_view_secur
i
ty_context
(
thd
))
DBUG_RETURN
(
TRUE
);
thd
->
security_ctx
=
find_view_security_context
(
thd
);
while
((
tbl
=
tb
++
))
...
...
sql/table.h
View file @
e7277416
...
...
@@ -2034,7 +2034,7 @@ struct TABLE_LIST
bool
prepare_security
(
THD
*
thd
);
#ifndef NO_EMBEDDED_ACCESS_CHECKS
Security_context
*
find_view_security_context
(
THD
*
thd
);
bool
prepare_view_secur
e
ty_context
(
THD
*
thd
);
bool
prepare_view_secur
i
ty_context
(
THD
*
thd
);
#endif
/*
Cleanup for re-execution in a prepared statement or a stored
...
...
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