24#ifndef DD_EVENT_INCLUDED
25#define DD_EVENT_INCLUDED
Definition: event_parse_data.h:43
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
enum_event_status
Definition: event.h:97
enum_interval_field
Definition: event.h:74
enum_on_completion
Definition: event.h:103
uint64_t sql_mode_t
Definition: dd_event.h:39
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
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
borrowable::session_track::Schema< true > Schema
Definition: classic_protocol_session_track.h:288
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
interval_type get_old_interval_type(Event::enum_interval_field interval_field)
Convert new DD interval_field type to type interval_type used in server code.
Definition: dd_event.cc:142
int get_old_on_completion(Event::enum_on_completion on_completion)
Convert new DD Event::enum_on_completion to completion type used in server code.
Definition: dd_event.cc:99
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
int get_old_status(Event::enum_event_status event_status)
Convert new DD Event::enum_event_status to status type used in server code.
Definition: dd_event.cc:54
bool update_event_time_and_status(THD *thd, Event *event, my_time_t last_executed, ulonglong status)
Update time related fields of Event object.
Definition: dd_event.cc:395
bool create_event(THD *thd, const Schema &schema, const String_type &event_name, const String_type &event_body, const String_type &event_body_utf8, const LEX_USER *definer, Event_parse_data *event_data)
Create an event object and commit it to DD Table Events.
Definition: dd_event.cc:354
bool update_event(THD *thd, Event *event, const dd::Schema &schema, const dd::Schema *new_schema, const String_type &new_event_name, const String_type &new_event_body, const String_type &new_event_body_utf8, const LEX_USER *definer, Event_parse_data *event_data)
Create or update a event object and commit it to DD Table Events.
Definition: dd_event.cc:369
required uint32 status
Definition: replication_asynchronous_connection_failover.proto:61
required string event
Definition: replication_group_member_actions.proto:32