MCPcopy Create free account
hub / github.com/Tencent/phxsql / abort_thread

Function abort_thread

phx_percona/percona/sql/mysqld.cc:3108–3115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3106 One should have to fix that thr_alarm know about this thread too.
3107*/
3108extern "C" sig_handler abort_thread(int sig MY_ATTRIBUTE((unused)))
3109{
3110 THD *thd=current_thd;
3111 DBUG_ENTER("abort_thread");
3112 if (thd)
3113 thd->killed= THD::KILL_CONNECTION;
3114 DBUG_VOID_RETURN;
3115}
3116#endif
3117
3118

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected