MySQL 8.0.31
Source Code Documentation
Event_db_repository Class Reference

#include <event_db_repository.h>

Public Member Functions

 Event_db_repository (const Event_db_repository &)=delete
 
void operator= (Event_db_repository &)=delete
 

Static Public Member Functions

static bool create_event (THD *thd, Event_parse_data *parse_data, bool create_if_not, bool *event_already_exists)
 Creates an event object and persist to Data Dictionary. More...
 
static bool update_event (THD *thd, Event_parse_data *parse_data, const LEX_CSTRING *new_dbname, const LEX_CSTRING *new_name)
 Used to execute ALTER EVENT. More...
 
static bool drop_event (THD *thd, LEX_CSTRING db, LEX_CSTRING name, bool drop_if_exists, bool *event_exists)
 Delete event. More...
 
static bool drop_schema_events (THD *thd, const dd::Schema &schema)
 Drops all events in the selected database. More...
 
static bool load_named_event (THD *thd, LEX_CSTRING dbname, LEX_CSTRING name, Event_basic *et)
 Looks for a named event in the Data Dictionary and load it. More...
 
static bool update_timing_fields_for_event (THD *thd, LEX_CSTRING event_db_name, LEX_CSTRING event_name, my_time_t last_executed, ulonglong status)
 Update the event in Data Dictionary with changed status and/or last execution time. More...
 

Private Member Functions

 Event_db_repository ()=default
 

Constructor & Destructor Documentation

◆ Event_db_repository() [1/2]

Event_db_repository::Event_db_repository ( )
privatedefault

◆ Event_db_repository() [2/2]

Event_db_repository::Event_db_repository ( const Event_db_repository )
delete

Member Function Documentation

◆ operator=()

void Event_db_repository::operator= ( Event_db_repository )
delete

The documentation for this class was generated from the following files: