MySQL  8.0.22
Source Code Documentation
s_mysql_mysql_current_thread_reader Struct Reference

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...
 

Detailed Description

A service to fetch the current thread id.

Use in conjuntion with all the related services that operate on thread ids

See also
mysql_component_mysql_current_thread_reader_imp

Member Data Documentation

◆ get

mysql_service_status_t(* s_mysql_mysql_current_thread_reader::get) (THD **thd)

get the current THD.

Parameters
[out]threadid
Returns
Status of performed operation
Return values
falsesuccess (valid password)
truefailure (invalid password)

The documentation for this struct was generated from the following file: