MySQL 8.4.2
Source Code Documentation
|
Functions | |
static bool | check_audit_mask (const unsigned long lhs, const unsigned long rhs) |
Check, whether masks specified by lhs parameter and rhs parameters overlap. More... | |
static int | plugins_dispatch (THD *thd, plugin_ref plugin, void *arg) |
Dispatches an event by invoking the plugin's event_notify method. More... | |
static bool | plugins_dispatch_bool (THD *thd, plugin_ref plugin, void *arg) |
int | event_class_dispatch (THD *thd, mysql_event_class_t event_class, const void *event) |
Distributes an audit event to plug-ins. More... | |
static const CHARSET_INFO * | get_charset_from_thd (THD *thd) |
const CHARSET_INFO * | thd_get_audit_query (THD *thd, LEX_CSTRING *query) |
Fill query info extracted from the thread object and return the thread object charset info. More... | |
|
inlinestatic |
Check, whether masks specified by lhs parameter and rhs parameters overlap.
lhs | First mask to check. |
rhs | Second mask to check. |
int anonymous_namespace{mysql_server_event_tracking_bridge_imp.cc}::event_class_dispatch | ( | THD * | thd, |
mysql_event_class_t | event_class, | ||
const void * | event | ||
) |
Distributes an audit event to plug-ins.
[in] | thd | THD that generated the event. |
event_class | Audit event class. | |
[in] | event | Opaque pointer to the event data. |
|
static |
|
static |
Dispatches an event by invoking the plugin's event_notify method.
[in] | thd | Session THD containing references to the audit plugins. |
[in] | plugin | Plugin used for dispatching the event. |
[in] | arg | Opaque event data structure. |
false | always |
|
static |
|
inline |
Fill query info extracted from the thread object and return the thread object charset info.
[in] | thd | Thread data. |
[out] | query | SQL query text. |