MySQL 9.1.0
Source Code Documentation
event_tracking_parse_defs.h File Reference

Data for parse event tracking. More...

Go to the source code of this file.

Classes

struct  mysql_event_tracking_parse_data
 Structure for the Parse event tracking. More...
 

Macros

#define EVENT_TRACKING_PARSE_PREPARSE   (1 << 0)
 occurs before the query parsing. More...
 
#define EVENT_TRACKING_PARSE_POSTPARSE   (1 << 1)
 occurs after the query parsing. More...
 
#define EVENT_TRACKING_PARSE_ALL    EVENT_TRACKING_PARSE_PREPARSE | EVENT_TRACKING_PARSE_POSTPARSE
 
#define EVENT_TRACKING_PARSE_REWRITE_NONE   0
 Default value of the flag. More...
 
#define EVENT_TRACKING_PARSE_REWRITE_QUERY_REWRITTEN   (1 << 0)
 Must be set by a plugin if the query is rewritten. More...
 
#define EVENT_TRACKING_PARSE_REWRITE_IS_PREPARED_STATEMENT   (1 << 1)
 set by the server if the query is prepared statement. More...
 

Typedefs

typedef unsigned long mysql_event_tracking_parse_subclass_t
 Events for Parse event tracking. More...
 
typedef unsigned int mysql_event_tracking_parse_rewrite_plugin_flag
 Query rewritting flags. More...
 

Detailed Description

Data for parse event tracking.

Macro Definition Documentation

◆ EVENT_TRACKING_PARSE_ALL

#define EVENT_TRACKING_PARSE_ALL    EVENT_TRACKING_PARSE_PREPARSE | EVENT_TRACKING_PARSE_POSTPARSE

◆ EVENT_TRACKING_PARSE_POSTPARSE

#define EVENT_TRACKING_PARSE_POSTPARSE   (1 << 1)

occurs after the query parsing.

◆ EVENT_TRACKING_PARSE_PREPARSE

#define EVENT_TRACKING_PARSE_PREPARSE   (1 << 0)

occurs before the query parsing.

◆ EVENT_TRACKING_PARSE_REWRITE_IS_PREPARED_STATEMENT

#define EVENT_TRACKING_PARSE_REWRITE_IS_PREPARED_STATEMENT   (1 << 1)

set by the server if the query is prepared statement.

◆ EVENT_TRACKING_PARSE_REWRITE_NONE

#define EVENT_TRACKING_PARSE_REWRITE_NONE   0

Default value of the flag.

◆ EVENT_TRACKING_PARSE_REWRITE_QUERY_REWRITTEN

#define EVENT_TRACKING_PARSE_REWRITE_QUERY_REWRITTEN   (1 << 0)

Must be set by a plugin if the query is rewritten.

Typedef Documentation

◆ mysql_event_tracking_parse_rewrite_plugin_flag

◆ mysql_event_tracking_parse_subclass_t

Events for Parse event tracking.