24#ifndef COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_CONNECTION_DEFS_H
25#define COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_CONNECTION_DEFS_H
35#define EVENT_TRACKING_CONNECTION_CONNECT (1 << 0)
37#define EVENT_TRACKING_CONNECTION_DISCONNECT (1 << 1)
39#define EVENT_TRACKING_CONNECTION_CHANGE_USER (1 << 2)
41#define EVENT_TRACKING_CONNECTION_PRE_AUTHENTICATE (1 << 3)
43#define EVENT_TRACKING_CONNECTION_ALL \
44 EVENT_TRACKING_CONNECTION_CONNECT | EVENT_TRACKING_CONNECTION_DISCONNECT | \
45 EVENT_TRACKING_CONNECTION_CHANGE_USER | \
46 EVENT_TRACKING_CONNECTION_PRE_AUTHENTICATE
Common data used for tracking various types of events.
unsigned long mysql_connection_id
Connection Identifier.
Definition: event_tracking_common_defs.h:46
unsigned long mysql_event_tracking_connection_subclass_t
Events for Connection event tracking.
Definition: event_tracking_connection_defs.h:53
String with length information.
Definition: mysql_string_defs.h:33
Structure for Connection event tracking.
Definition: event_tracking_connection_defs.h:60
mysql_cstring_with_length external_user
External user name.
Definition: event_tracking_connection_defs.h:72
mysql_cstring_with_length priv_user
Priv user.
Definition: event_tracking_connection_defs.h:70
mysql_event_tracking_connection_subclass_t event_subclass
Event subclass.
Definition: event_tracking_connection_defs.h:62
mysql_cstring_with_length host
Connection host.
Definition: event_tracking_connection_defs.h:76
mysql_cstring_with_length database
Database name specified at connection time - System charset (defaults to utf8mb4) Please use s_mysql_...
Definition: event_tracking_connection_defs.h:83
mysql_cstring_with_length proxy_user
Proxy user used for the connection.
Definition: event_tracking_connection_defs.h:74
mysql_cstring_with_length ip
IP of the connection.
Definition: event_tracking_connection_defs.h:78
int status
Current status of the connection.
Definition: event_tracking_connection_defs.h:64
mysql_cstring_with_length user
User name of this connection.
Definition: event_tracking_connection_defs.h:68
mysql_connection_id connection_id
Connection id.
Definition: event_tracking_connection_defs.h:66
int connection_type
Connection type:
Definition: event_tracking_connection_defs.h:92