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

Function thd_get_thread_id

sql/sql_class.cc:5323–5326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5321 @return thread id
5322*/
5323extern "C" unsigned long thd_get_thread_id(const MYSQL_THD thd)
5324{
5325 return((unsigned long)thd->thread_id);
5326}
5327
5328/**
5329 Check if THD socket is still connected.

Callers 15

log_current_queryFunction · 0.85
rollbackMethod · 0.85
wsrep_thd_order_beforeFunction · 0.85
get_thread_idMethod · 0.85
wsrep_commit_emptyFunction · 0.85
do_apply_eventMethod · 0.85
bf_rollbackMethod · 0.85
can_grant_lockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected