mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
typo fixed
This commit is contained in:
parent
8b4d967798
commit
e727741614
2 changed files with 5 additions and 5 deletions
|
@ -4817,7 +4817,7 @@ void TABLE_LIST::register_want_access(ulong want_access)
|
||||||
Load security context information for this view
|
Load security context information for this view
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
TABLE_LIST::prepare_view_securety_context()
|
TABLE_LIST::prepare_view_security_context()
|
||||||
thd [in] thread handler
|
thd [in] thread handler
|
||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
|
@ -4826,9 +4826,9 @@ void TABLE_LIST::register_want_access(ulong want_access)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||||
bool TABLE_LIST::prepare_view_securety_context(THD *thd)
|
bool TABLE_LIST::prepare_view_security_context(THD *thd)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("TABLE_LIST::prepare_view_securety_context");
|
DBUG_ENTER("TABLE_LIST::prepare_view_security_context");
|
||||||
DBUG_PRINT("enter", ("table: %s", alias));
|
DBUG_PRINT("enter", ("table: %s", alias));
|
||||||
|
|
||||||
DBUG_ASSERT(!prelocking_placeholder && view);
|
DBUG_ASSERT(!prelocking_placeholder && view);
|
||||||
|
@ -4935,7 +4935,7 @@ bool TABLE_LIST::prepare_security(THD *thd)
|
||||||
Security_context *save_security_ctx= thd->security_ctx;
|
Security_context *save_security_ctx= thd->security_ctx;
|
||||||
|
|
||||||
DBUG_ASSERT(!prelocking_placeholder);
|
DBUG_ASSERT(!prelocking_placeholder);
|
||||||
if (prepare_view_securety_context(thd))
|
if (prepare_view_security_context(thd))
|
||||||
DBUG_RETURN(TRUE);
|
DBUG_RETURN(TRUE);
|
||||||
thd->security_ctx= find_view_security_context(thd);
|
thd->security_ctx= find_view_security_context(thd);
|
||||||
while ((tbl= tb++))
|
while ((tbl= tb++))
|
||||||
|
|
|
@ -2034,7 +2034,7 @@ struct TABLE_LIST
|
||||||
bool prepare_security(THD *thd);
|
bool prepare_security(THD *thd);
|
||||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||||
Security_context *find_view_security_context(THD *thd);
|
Security_context *find_view_security_context(THD *thd);
|
||||||
bool prepare_view_securety_context(THD *thd);
|
bool prepare_view_security_context(THD *thd);
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
Cleanup for re-execution in a prepared statement or a stored
|
Cleanup for re-execution in a prepared statement or a stored
|
||||||
|
|
Loading…
Add table
Reference in a new issue