MySQL 8.4.0
Source Code Documentation
Event_tracking_general_information_imp Class Reference

#include <event_tracking_information_imp.h>

Static Public Member Functions

static mysql_service_status_t init (event_tracking_general_information_handle *handle) noexcept
 Initialize authentication event data handle. More...
 
static mysql_service_status_t deinit (event_tracking_general_information_handle handle) noexcept
 Deinitialize authentication event data handle. More...
 
static mysql_service_status_t get (event_tracking_general_information_handle handle, const char *name, void *value) noexcept
 Get information about given authentication event. More...
 

Member Function Documentation

◆ deinit()

mysql_service_status_t Event_tracking_general_information_imp::deinit ( event_tracking_general_information_handle  handle)
staticnoexcept

Deinitialize authentication event data handle.

Parameters
[in,out]handleHandle to be deinitialized
Returns
Status of operation
Return values
falseSuccess
trueError

No need to free the handle because THD::event_notify will take care of it

◆ get()

mysql_service_status_t Event_tracking_general_information_imp::get ( event_tracking_general_information_handle  handle,
const char *  name,
void *  value 
)
staticnoexcept

Get information about given authentication event.

Accepted names and corresponding value type

"external_user" -> mysql_cstring_with_length * "time" -> uint64_t "rows" -> uint64_t

Parameters
[in]handleEvent tracking information handle
[in]nameData identifier
[out]valueValue of the identifier
Returns
status of the operation
Return values
falseSuccess
trueError

◆ init()

mysql_service_status_t Event_tracking_general_information_imp::init ( event_tracking_general_information_handle handle)
staticnoexcept

Initialize authentication event data handle.

Parameters
[out]handleHandle to authentication event data
Returns
Status of handle creation
Return values
falseSuccess
trueError

The documentation for this class was generated from the following files: