24#ifndef COMPONENT_SERVICES_DEFS_EVENT_TRACKING_GENERAL_DEFS_H
25#define COMPONENT_SERVICES_DEFS_EVENT_TRACKING_GENERAL_DEFS_H
35#define EVENT_TRACKING_GENERAL_LOG (1 << 0)
37#define EVENT_TRACKING_GENERAL_ERROR (1 << 1)
39#define EVENT_TRACKING_GENERAL_RESULT (1 << 2)
41#define EVENT_TRACKING_GENERAL_STATUS (1 << 3)
43#define EVENT_TRACKING_GENERAL_ALL \
44 EVENT_TRACKING_GENERAL_LOG | EVENT_TRACKING_GENERAL_ERROR | \
45 EVENT_TRACKING_GENERAL_RESULT | EVENT_TRACKING_GENERAL_STATUS
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_general_subclass_t
Events for the General event tracking.
Definition: event_tracking_general_defs.h:52
String with length information.
Definition: mysql_string_defs.h:33
Structure for General event tracking.
Definition: event_tracking_general_defs.h:59
mysql_connection_id connection_id
Connection ID.
Definition: event_tracking_general_defs.h:65
mysql_cstring_with_length user
User name of this connection.
Definition: event_tracking_general_defs.h:67
mysql_cstring_with_length ip
Connection IP.
Definition: event_tracking_general_defs.h:71
int error_code
Error code if any.
Definition: event_tracking_general_defs.h:63
mysql_event_tracking_general_subclass_t event_subclass
Event subclass.
Definition: event_tracking_general_defs.h:61
mysql_cstring_with_length host
Connection host.
Definition: event_tracking_general_defs.h:69