24#ifndef ACL_TABLE_BASE_INCLUDED
25#define ACL_TABLE_BASE_INCLUDED
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
Base class to handle ACL table manipulation.
Definition: acl_table_base.h:44
Acl_table_operation m_operation
Definition: acl_table_base.h:78
virtual Acl_table_op_status finish_operation(Table_op_error_code &error)=0
virtual ~Acl_table()=default
const Acl_table & operator=(const Acl_table &)=delete
Acl_table_operation get_operation_mode()
Definition: acl_table_base.h:61
THD * m_thd
Definition: acl_table_base.h:74
Acl_table(THD *thd, TABLE *table, Acl_table_operation operation)
Definition: acl_table_base.h:47
Table_op_error_code m_error
Definition: acl_table_base.h:80
Acl_table(const Acl_table &)=delete
Acl_table_op_status convert_table_op_error_code()
Definition: acl_table_base.h:64
TABLE * m_table
Definition: acl_table_base.h:76
Acl_table(const Acl_table &&)=delete
const Acl_table & operator=(const Acl_table &&)=delete
This file includes constants used by all storage engines.
#define HA_ERR_KEY_NOT_FOUND
Didn't find key on read or update.
Definition: my_base.h:820
#define HA_ERR_END_OF_FILE
end in next/prev/first/last
Definition: my_base.h:852
Definition: acl_table_base.h:33
int Table_op_error_code
Definition: acl_table_base.h:35
Acl_table_op_status
Definition: acl_table_base.h:37
Acl_table_operation
Definition: acl_table_base.h:38