MySQL 9.1.0
Source Code Documentation
|
RAII class for immunizing the THD from kill operations. More...
#include <dd_kill_immunizer.h>
Public Member Functions | |
DD_kill_immunizer (THD *thd) | |
~DD_kill_immunizer () | |
bool | is_active () |
void | save_killed_state (THD::killed_state state) |
Private Attributes | |
THD * | m_thd |
THD::killed_state | m_killed_state |
DD_kill_immunizer * | m_saved_kill_immunizer |
THD::killed_state | m_saved_killed_state |
bool | m_is_active |
RAII class for immunizing the THD from kill operations.
Interruptions to operations on new Data Dictionary tables due to KILL QUERY, KILL CONNECTION or statement execution timeout would leave DD in inconsistent state. So the operations on the New Data Dictionary tables are made immune to these operations using DD_kill_immunizer.
Note: DD operations are made immune to KILL operations till WL#7743 and WL#7016 are implemented. So as part of these WL's DD_kill_immunizer should be removed.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |