24#ifndef COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_PARSE_DEFS_H
25#define COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_PARSE_DEFS_H
35#define EVENT_TRACKING_PARSE_PREPARSE (1 << 0)
37#define EVENT_TRACKING_PARSE_POSTPARSE (1 << 1)
39#define EVENT_TRACKING_PARSE_ALL \
40 EVENT_TRACKING_PARSE_PREPARSE | EVENT_TRACKING_PARSE_POSTPARSE
50#define EVENT_TRACKING_PARSE_REWRITE_NONE 0
52#define EVENT_TRACKING_PARSE_REWRITE_QUERY_REWRITTEN (1 << 0)
54#define EVENT_TRACKING_PARSE_REWRITE_IS_PREPARED_STATEMENT (1 << 1)
Common data used for tracking various types of events.
unsigned long mysql_connection_id
Connection Identifier.
Definition: event_tracking_common_defs.h:46
unsigned int mysql_event_tracking_parse_rewrite_plugin_flag
Query rewritting flags.
Definition: event_tracking_parse_defs.h:61
unsigned long mysql_event_tracking_parse_subclass_t
Events for Parse event tracking.
Definition: event_tracking_parse_defs.h:47
String with length information.
Definition: mysql_string_defs.h:33
Structure for the Parse event tracking.
Definition: event_tracking_parse_defs.h:68
mysql_event_tracking_parse_subclass_t event_subclass
MYSQL_AUDIT_[PRE|POST]_PARSE event id.
Definition: event_tracking_parse_defs.h:73
mysql_connection_id connection_id
Connection id.
Definition: event_tracking_parse_defs.h:70
mysql_cstring_with_length * rewritten_query
output: returns the null-terminated rwritten query allocated by my_malloc()
Definition: event_tracking_parse_defs.h:85
mysql_cstring_with_length query
input: the original query text
Definition: event_tracking_parse_defs.h:79
mysql_event_tracking_parse_rewrite_plugin_flag * flags
one of FLAG_REWRITE_PLUGIN_*
Definition: event_tracking_parse_defs.h:76