![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
A service to fetch the current thread id. More...
#include <mysql_current_thread_reader.h>
Public Attributes | |
| mysql_service_status_t(* | get )(THD **thd) | 
| get the current THD.  More... | |
A service to fetch the current thread id.
Use in conjunction with all the related services that operate on thread ids
| mysql_service_status_t(* s_mysql_mysql_current_thread_reader::get) (THD **thd) | 
get the current THD.
| [out] | thread | id | 
| false | success (valid password) | 
| true | failure (invalid password) |