MySQL 9.1.0
Source Code Documentation
Set_kill_conn Class Reference

This class implements callback function used by close_connections() to set KILL_CONNECTION flag on all thds in thd list. More...

Inheritance diagram for Set_kill_conn:
[legend]

Public Member Functions

 Set_kill_conn ()
 
void set_dump_thread_flag ()
 
uint get_dump_thread_count () const
 
void operator() (THD *killing_thd) override
 
- Public Member Functions inherited from Do_THD_Impl
virtual ~Do_THD_Impl ()=default
 

Private Attributes

uint m_dump_thread_count
 
bool m_kill_dump_threads_flag
 

Detailed Description

This class implements callback function used by close_connections() to set KILL_CONNECTION flag on all thds in thd list.

If m_kill_dump_thread_flag is not set it kills all other threads except dump threads. If this flag is set, it kills dump threads.

Constructor & Destructor Documentation

◆ Set_kill_conn()

Set_kill_conn::Set_kill_conn ( )
inline

Member Function Documentation

◆ get_dump_thread_count()

uint Set_kill_conn::get_dump_thread_count ( ) const
inline

◆ operator()()

void Set_kill_conn::operator() ( THD killing_thd)
inlineoverridevirtual

Implements Do_THD_Impl.

◆ set_dump_thread_flag()

void Set_kill_conn::set_dump_thread_flag ( )
inline

Member Data Documentation

◆ m_dump_thread_count

uint Set_kill_conn::m_dump_thread_count
private

◆ m_kill_dump_threads_flag

bool Set_kill_conn::m_kill_dump_threads_flag
private

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