MySQL 8.0.39
Source Code Documentation
st_mysql_audit Struct Reference

The descriptor structure that is referred from st_mysql_plugin. More...

#include <plugin_audit.h>

Public Attributes

int interface_version
 Interface version. More...
 
void(* release_thd )(MYSQL_THD)
 Event occurs when the event class consumer is to be disassociated from the specified THD.This would typically occur before some operation which may require sleeping - such as when waiting for the next query from the client. More...
 
int(* event_notify )(MYSQL_THD, mysql_event_class_t, const void *)
 Invoked whenever an event occurs which is of any class for which the plugin has interest.The second argument indicates the specific event class and the third argument is data as required for that class. More...
 
unsigned long class_mask [MYSQL_AUDIT_CLASS_MASK_SIZE]
 An array of bits used to indicate what event classes that this plugin wants to receive. More...
 

Detailed Description

The descriptor structure that is referred from st_mysql_plugin.

Member Data Documentation

◆ class_mask

unsigned long st_mysql_audit::class_mask[MYSQL_AUDIT_CLASS_MASK_SIZE]

An array of bits used to indicate what event classes that this plugin wants to receive.

◆ event_notify

int(* st_mysql_audit::event_notify) (MYSQL_THD, mysql_event_class_t, const void *)

Invoked whenever an event occurs which is of any class for which the plugin has interest.The second argument indicates the specific event class and the third argument is data as required for that class.

◆ interface_version

int st_mysql_audit::interface_version

Interface version.

◆ release_thd

void(* st_mysql_audit::release_thd) (MYSQL_THD)

Event occurs when the event class consumer is to be disassociated from the specified THD.This would typically occur before some operation which may require sleeping - such as when waiting for the next query from the client.


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