25#ifndef _EVENT_PARSE_DATA_H_
26#define _EVENT_PARSE_DATA_H_
39#define EVEX_GET_FIELD_FAILED -2
40#define EVEX_BAD_PARAMS -5
41#define EVEX_MICROSECOND_UNSUP -6
42#define EVEX_MAX_INTERVAL_VALUE 1000000000L
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Definition: event_parse_data.h:44
void operator=(Event_parse_data &)
bool check_parse_data(THD *thd)
Definition: event_parse_data.cc:452
bool check_dates(THD *thd, int previous_on_completion)
Definition: event_parse_data.cc:139
Item * item_execute_at
Definition: event_parse_data.h:82
void report_bad_value(THD *thd, const char *item_name, Item *bad_item)
Definition: event_parse_data.cc:428
bool starts_null
Definition: event_parse_data.h:87
LEX_STRING definer
Definition: event_parse_data.h:77
int init_ends(THD *thd)
Definition: event_parse_data.cc:386
longlong expression
Definition: event_parse_data.h:93
interval_type interval
Definition: event_parse_data.h:94
Item * item_starts
Definition: event_parse_data.h:80
LEX_CSTRING dbname
Definition: event_parse_data.h:75
void init_name(THD *thd, sp_name *spn)
Definition: event_parse_data.cc:60
Event_parse_data(const Event_parse_data &)
my_time_t starts
Definition: event_parse_data.h:84
sp_name * identifier
Definition: event_parse_data.h:91
~Event_parse_data()=default
void init_definer(THD *thd)
Definition: event_parse_data.cc:489
Item * item_ends
Definition: event_parse_data.h:81
my_time_t execute_at
Definition: event_parse_data.h:86
my_time_t ends
Definition: event_parse_data.h:85
bool do_not_create
Definition: event_parse_data.h:71
int on_completion
Definition: event_parse_data.h:63
void check_originator_id(THD *thd)
Set the originator id of the event to the server_id if executing on the source or set to the server_i...
Definition: event_parse_data.cc:527
void check_if_in_the_past(THD *thd, my_time_t ltime_utc)
Definition: event_parse_data.cc:88
bool execute_at_null
Definition: event_parse_data.h:89
int status
Definition: event_parse_data.h:64
enum_status
Definition: event_parse_data.h:51
@ REPLICA_SIDE_DISABLED
Definition: event_parse_data.h:51
@ ENABLED
Definition: event_parse_data.h:51
@ DISABLED
Definition: event_parse_data.h:51
bool ends_null
Definition: event_parse_data.h:88
int init_interval(THD *thd)
Definition: event_parse_data.cc:226
bool body_changed
Definition: event_parse_data.h:73
Event_parse_data()
Definition: event_parse_data.h:100
enum_on_completion
Definition: event_parse_data.h:53
@ ON_COMPLETION_DEFAULT
Definition: event_parse_data.h:58
@ ON_COMPLETION_PRESERVE
Definition: event_parse_data.h:60
@ ON_COMPLETION_DROP
Definition: event_parse_data.h:59
longlong originator
Definition: event_parse_data.h:66
Item * item_expression
Definition: event_parse_data.h:92
LEX_CSTRING name
Definition: event_parse_data.h:76
bool status_changed
Definition: event_parse_data.h:65
int init_starts(THD *thd)
Definition: event_parse_data.cc:336
LEX_STRING comment
Definition: event_parse_data.h:78
int init_execute_at(THD *thd)
Definition: event_parse_data.cc:175
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:936
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: sp_head.h:123
#define DBUG_TRACE
Definition: my_dbug.h:146
Some integer typedefs for easier portability.
long long int longlong
Definition: my_inttypes.h:55
Interface for low level time utilities.
interval_type
Available interval types used in any statement.
Definition: my_time.h:455
int64_t my_time_t
Portable time_t replacement.
Definition: my_time_t.h:32
Definition: mysql_lex_string.h:40
Definition: mysql_lex_string.h:35
char * str
Definition: mysql_lex_string.h:36
size_t length
Definition: mysql_lex_string.h:37