MySQL 8.0.39
Source Code Documentation
|
Callback function used by Sql_cmd_explain_other_thread::execute() to find thd based on the thread id. More...
Public Member Functions | |
Find_thd_query_lock (my_thread_id value) | |
~Find_thd_query_lock () override | |
bool | operator() (THD *thd) override |
Override this operator to provide implementation to find specific thd. More... | |
Public Member Functions inherited from Find_THD_Impl | |
virtual | ~Find_THD_Impl ()=default |
Private Attributes | |
const my_thread_id | m_id |
The thread id we are looking for. More... | |
THD * | m_thd |
THD we found, having this ID. More... | |
Callback function used by Sql_cmd_explain_other_thread::execute() to find thd based on the thread id.
|
inlineexplicit |
|
inlineoverride |
|
inlineoverridevirtual |
Override this operator to provide implementation to find specific thd.
thd | THD of one element in global thread list |
true | for matching thd false otherwise |
Implements Find_THD_Impl.
|
private |
The thread id we are looking for.
|
private |
THD we found, having this ID.