MySQL 9.1.0
Source Code Documentation
Kill_non_super_conn Class Reference

This class implements callback function used by killall_non_super_threads to kill all threads that do not have either SYSTEM_VARIABLES_ADMIN + CONNECTION_ADMIN privileges or legacy SUPER privilege. More...

Inheritance diagram for Kill_non_super_conn:
[legend]

Public Member Functions

 Kill_non_super_conn (THD *thd)
 
void operator() (THD *thd_to_kill) override
 
- Public Member Functions inherited from Do_THD_Impl
virtual ~Do_THD_Impl ()=default
 

Private Attributes

THDm_client_thd
 
bool m_is_client_regular_user
 

Detailed Description

This class implements callback function used by killall_non_super_threads to kill all threads that do not have either SYSTEM_VARIABLES_ADMIN + CONNECTION_ADMIN privileges or legacy SUPER privilege.

Constructor & Destructor Documentation

◆ Kill_non_super_conn()

Kill_non_super_conn::Kill_non_super_conn ( THD thd)
inline

Member Function Documentation

◆ operator()()

void Kill_non_super_conn::operator() ( THD thd_to_kill)
inlineoverridevirtual

Implements Do_THD_Impl.

Member Data Documentation

◆ m_client_thd

THD* Kill_non_super_conn::m_client_thd
private

◆ m_is_client_regular_user

bool Kill_non_super_conn::m_is_client_regular_user
private

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