23#ifndef SQL_USER_TABLE_INCLUDED
24#define SQL_USER_TABLE_INCLUDED
Class to validate the flawlessness of ACL table before performing ACL operations.
Definition: sql_user_table.h:53
Acl_table_intact(THD *c_thd, enum loglevel log_level=ERROR_LEVEL)
Definition: sql_user_table.h:55
bool check(TABLE *table, ACL_TABLES acl_table)
Checks whether an ACL table is intact.
Definition: sql_user_table.h:70
static const TABLE_FIELD_DEF mysql_acl_table_defs[]
keep in sync with ACL_TABLES
Definition: sql_user_table.h:76
Class to check if system table is intact.
Definition: sql_system_table_check.h:37
THD * thd()
Definition: sql_system_table_check.h:44
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
bool check(THD *thd, TABLE *table, const TABLE_FIELD_DEF *table_def)
Checks whether a table is intact.
Definition: table.cc:3773
bool drop(THD *thd, const Table *tp)
Remove SDI for a table.
Definition: sdi.cc:639
Definition of the global "loglevel" enumeration.
loglevel
Definition: my_loglevel.h:41
@ ERROR_LEVEL
Definition: my_loglevel.h:43
Definition: acl_table_base.h:33
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
static loglevel log_level(const Sql_condition *condition)
Definition: histogram.cc:1644
ACL_TABLES
Enum for ACL tables.
Definition: sql_user_table.h:35
@ TABLE_PASSWORD_HISTORY
Definition: sql_user_table.h:45
@ TABLE_DEFAULT_ROLES
Definition: sql_user_table.h:43
@ TABLE_PROXIES_PRIV
Definition: sql_user_table.h:41
@ TABLE_DB
Definition: sql_user_table.h:37
@ TABLE_COLUMNS_PRIV
Definition: sql_user_table.h:39
@ TABLE_TABLES_PRIV
Definition: sql_user_table.h:38
@ TABLE_DYNAMIC_PRIV
Definition: sql_user_table.h:44
@ TABLE_ROLE_EDGES
Definition: sql_user_table.h:42
@ LAST_ENTRY
Definition: sql_user_table.h:46
@ TABLE_PROCS_PRIV
Definition: sql_user_table.h:40
@ TABLE_USER
Definition: sql_user_table.h:36
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:2504