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

@ -484,7 +484,7 @@ typedef my_bool (*qc_engine_callback)(THD *thd, char *table_key,
#include "protocol.h"
#include "sql_udf.h"
class user_var_entry;
class st_security_context;
class Security_context;
enum enum_var_type
{
OPT_DEFAULT= 0, OPT_SESSION, OPT_GLOBAL
@ -516,7 +516,7 @@ bool delete_precheck(THD *thd, TABLE_LIST *tables);
bool insert_precheck(THD *thd, TABLE_LIST *tables);
bool create_table_precheck(THD *thd, TABLE_LIST *tables,
TABLE_LIST *create_table);
bool default_view_definer(st_security_context *sctx, st_lex_user *definer);
bool default_view_definer(Security_context *sctx, st_lex_user *definer);
enum enum_mysql_completiontype {