1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

WL#2787 (Add view definer/owner to the view definition (.frm) to check privileges on used tables and stored routines when using a VIEW.)

Part 2 postreview fixes.
This commit is contained in:
bell@sanja.is.com.ua
2005-09-20 21:20:38 +03:00
parent aec371f910
commit c1b185f5ff
16 changed files with 151 additions and 120 deletions

View File

@ -1822,7 +1822,7 @@ void THD::set_status_var_init()
}
void st_security_context::init()
void Security_context::init()
{
host= user= priv_user= ip= 0;
host_or_ip= "connecting host";
@ -1832,7 +1832,7 @@ void st_security_context::init()
}
void st_security_context::destroy()
void Security_context::destroy()
{
// If not pointer to constant
if (host != my_localhost)
@ -1843,7 +1843,7 @@ void st_security_context::destroy()
}
void st_security_context::skip_grants()
void Security_context::skip_grants()
{
/* privileges for the user are unknown everything is allowed */
host_or_ip= (char *)"";