MySQL 9.1.0
Source Code Documentation
dd_event.h File Reference
#include <cstdint>
#include "my_inttypes.h"
#include "my_time.h"
#include "sql/dd/string_type.h"
#include "sql/dd/types/event.h"

Go to the source code of this file.

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 

Typedefs

using sql_mode_t = uint64_t
 

Functions

int dd::get_old_status (Event::enum_event_status event_status)
 Convert new DD Event::enum_event_status to status type used in server code. More...
 
int dd::get_old_on_completion (Event::enum_on_completion on_completion)
 Convert new DD Event::enum_on_completion to completion type used in server code. More...
 
interval_type dd::get_old_interval_type (Event::enum_interval_field interval_field)
 Convert new DD interval_field type to type interval_type used in server code. More...
 
bool dd::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. More...
 
bool dd::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. More...
 
bool dd::update_event_time_and_status (THD *thd, Event *event, my_time_t last_executed, ulonglong status)
 Update time related fields of Event object. More...
 

Typedef Documentation

◆ sql_mode_t

using sql_mode_t = uint64_t