22#ifndef SQL_USER_TABLE_INCLUDED
23#define SQL_USER_TABLE_INCLUDED
Class to validate the flawlessness of ACL table before performing ACL operations.
Definition: sql_user_table.h:52
Acl_table_intact(THD *c_thd, enum loglevel log_level=ERROR_LEVEL)
Definition: sql_user_table.h:54
bool check(TABLE *table, ACL_TABLES acl_table)
Checks whether an ACL table is intact.
Definition: sql_user_table.h:69
static const TABLE_FIELD_DEF mysql_acl_table_defs[]
keep in sync with ACL_TABLES
Definition: sql_user_table.h:75
Class to check if system table is intact.
Definition: sql_system_table_check.h:36
THD * thd()
Definition: sql_system_table_check.h:43
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:35
bool check(THD *thd, TABLE *table, const TABLE_FIELD_DEF *table_def)
Checks whether a table is intact.
Definition: table.cc:3757
bool drop(THD *thd, const Table *tp)
Remove SDI for a table.
Definition: sdi.cc:638
Definition of the global "loglevel" enumeration.
loglevel
Definition: my_loglevel.h:40
@ ERROR_LEVEL
Definition: my_loglevel.h:42
Definition: acl_table_base.h:32
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
ACL_TABLES
Enum for ACL tables.
Definition: sql_user_table.h:34
@ TABLE_PASSWORD_HISTORY
Definition: sql_user_table.h:44
@ TABLE_DEFAULT_ROLES
Definition: sql_user_table.h:42
@ TABLE_PROXIES_PRIV
Definition: sql_user_table.h:40
@ TABLE_DB
Definition: sql_user_table.h:36
@ TABLE_COLUMNS_PRIV
Definition: sql_user_table.h:38
@ TABLE_TABLES_PRIV
Definition: sql_user_table.h:37
@ TABLE_DYNAMIC_PRIV
Definition: sql_user_table.h:43
@ TABLE_ROLE_EDGES
Definition: sql_user_table.h:41
@ LAST_ENTRY
Definition: sql_user_table.h:45
@ TABLE_PROCS_PRIV
Definition: sql_user_table.h:39
@ TABLE_USER
Definition: sql_user_table.h:35
int handle_grant_table(THD *, Table_ref *tables, ACL_TABLES table_no, bool drop, LEX_USER *user_from, LEX_USER *user_to)
Handle a privilege table.
Definition: sql_user_table.cc:2097