25#ifndef ACL_CHANGE_NOTIFICATION_INCLUDED
26#define ACL_CHANGE_NOTIFICATION_INCLUDED
34 struct Priv :
public std::string {
47 std::set<LEX_USER *> *rewrite_params,
61 const std::string &
get_db()
const {
return db; }
Definition: acl_change_notification.h:32
const std::string db
Definition: acl_change_notification.h:51
const User_params * get_rewrite_params() const
Definition: acl_change_notification.h:64
Acl_change_notification(THD *thd, enum_sql_command op, const List< LEX_USER > *users, std::set< LEX_USER * > *rewrite_params, const List< LEX_CSTRING > *dynamic_privs)
Notify handlerton(s) that privileges have changed.
Definition: sql_user_table.cc:576
const List< LEX_USER > & users
Definition: acl_change_notification.h:54
auto & get_user_list() const
Definition: acl_change_notification.h:62
const std::string & get_db() const
Definition: acl_change_notification.h:61
auto & get_dynamic_privilege_list() const
Definition: acl_change_notification.h:63
const List< LEX_USER > empty_users
Definition: acl_change_notification.h:53
const enum_sql_command operation
Definition: acl_change_notification.h:52
enum_sql_command get_operation() const
Definition: acl_change_notification.h:60
const List< LEX_CSTRING > empty_dynamic_privs
Definition: acl_change_notification.h:56
const List< LEX_CSTRING > & dynamic_privs
Definition: acl_change_notification.h:57
const User_params rewrite_user_params
Definition: acl_change_notification.h:55
Definition: sql_list.h:434
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
Wrapper object for user related parameters required by: SET PASSWORD|CREATE USER|ALTER USER statement...
Definition: sql_rewrite.h:61
std::set< LEX_USER * > * users
Definition: sql_rewrite.h:65
enum_sql_command
Definition: my_sqlcommand.h:46
char * user
Definition: mysqladmin.cc:60
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1052
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
Definition: gcs_xcom_synode.h:64
Definition: acl_change_notification.h:34
Priv(const LEX_CSTRING &lex_priv)
Definition: acl_change_notification.h:35
Definition: acl_change_notification.h:38
std::string name
Definition: acl_change_notification.h:39
std::string host
Definition: acl_change_notification.h:40
User(const LEX_USER &lex_user)
Definition: acl_change_notification.h:41
Definition: mysql_lex_string.h:40