MySQL 8.0.30
Source Code Documentation
Acl_change_notification Class Reference

#include <acl_change_notification.h>

Classes

struct  Priv
 
struct  User
 

Public Member Functions

 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. More...
 
enum_sql_command get_operation () const
 
const std::string & get_db () const
 
auto & get_user_list () const
 
auto & get_dynamic_privilege_list () const
 
const User_paramsget_rewrite_params () const
 

Private Attributes

const std::string db
 
const enum_sql_command operation
 
const List< LEX_USERempty_users
 
const List< LEX_USER > & users
 
const User_params rewrite_user_params
 
const List< LEX_CSTRINGempty_dynamic_privs
 
const List< LEX_CSTRING > & dynamic_privs
 

Constructor & Destructor Documentation

◆ Acl_change_notification()

Acl_change_notification::Acl_change_notification ( THD thd,
enum_sql_command  op,
const List< LEX_USER > *  users,
std::set< LEX_USER * > *  rewrite_users,
const List< LEX_CSTRING > *  dynamic_privs 
)

Notify handlerton(s) that privileges have changed.

Interested handlertons may use this notification to update its own privilege structures as well as propagating the changing query to other destinations.

Member Function Documentation

◆ get_db()

const std::string & Acl_change_notification::get_db ( ) const
inline

◆ get_dynamic_privilege_list()

auto & Acl_change_notification::get_dynamic_privilege_list ( ) const
inline

◆ get_operation()

enum_sql_command Acl_change_notification::get_operation ( ) const
inline

◆ get_rewrite_params()

const User_params * Acl_change_notification::get_rewrite_params ( ) const
inline

◆ get_user_list()

auto & Acl_change_notification::get_user_list ( ) const
inline

Member Data Documentation

◆ db

const std::string Acl_change_notification::db
private

◆ dynamic_privs

const List<LEX_CSTRING>& Acl_change_notification::dynamic_privs
private

◆ empty_dynamic_privs

const List<LEX_CSTRING> Acl_change_notification::empty_dynamic_privs
private

◆ empty_users

const List<LEX_USER> Acl_change_notification::empty_users
private

◆ operation

const enum_sql_command Acl_change_notification::operation
private

◆ rewrite_user_params

const User_params Acl_change_notification::rewrite_user_params
private

◆ users

const List<LEX_USER>& Acl_change_notification::users
private

The documentation for this class was generated from the following files: