MCPcopy Create free account
hub / github.com/MariaDB/server / find_thread_by_id

Function find_thread_by_id

sql/sql_parse.cc:9117–9122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9115
9116
9117THD *find_thread_by_id(longlong id, bool query_id)
9118{
9119 find_thread_callback_arg arg(id, query_id);
9120 server_threads.iterate(find_thread_callback, &arg);
9121 return arg.thd;
9122}
9123
9124
9125/**

Callers 3

kill_one_threadFunction · 0.85
lock_wait_wsrep_killFunction · 0.85

Calls 1

iterateMethod · 0.45

Tested by

no test coverage detected