MySQL 8.4.2
Source Code Documentation
event_data_objects.cc File Reference
#include "sql/event_data_objects.h"
#include <string.h>
#include <memory>
#include "lex_string.h"
#include "my_dbug.h"
#include "my_sys.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/components/services/log_shared.h"
#include "mysql/my_loglevel.h"
#include "mysql/psi/mysql_sp.h"
#include "mysql/psi/mysql_statement.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/strings/m_ctype.h"
#include "mysql_time.h"
#include "mysqld.h"
#include "mysqld_error.h"
#include "sql/auth/auth_acls.h"
#include "sql/auth/auth_common.h"
#include "sql/auth/sql_security_ctx.h"
#include "sql/dd/dd_event.h"
#include "sql/dd/string_type.h"
#include "sql/dd/types/event.h"
#include "sql/derror.h"
#include "sql/event_parse_data.h"
#include "sql/events.h"
#include "sql/log.h"
#include "sql/psi_memory_key.h"
#include "sql/sp_head.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_digest_stream.h"
#include "sql/sql_error.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql/sql_parse.h"
#include "sql/sql_show.h"
#include "sql/sql_time.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thd_raii.h"
#include "sql/thr_malloc.h"
#include "sql/transaction.h"
#include "sql/tztime.h"
#include "sql_string.h"
#include "storage/perfschema/terminology_use_previous_enum.h"
#include "string_with_len.h"

Classes

class  Event_creation_ctx
 Event_creation_ctx – creation context of events. More...
 

Functions

void init_scheduler_psi_keys ()
 
static LEX_STRING make_lex_string (MEM_ROOT *mem_root, const dd::String_type &str)
 
static LEX_CSTRING make_lex_cstring (MEM_ROOT *mem_root, const dd::String_type &str)
 
static my_time_t add_interval (MYSQL_TIME *ltime, const Time_zone *time_zone, interval_type scale, Interval interval)
 
static bool get_next_time (const Time_zone *time_zone, my_time_t *next, my_time_t start, my_time_t time_now, int i_value, interval_type i_type)
 Computes the sum of a timestamp plus interval. More...
 
static void append_datetime (String *buf, Time_zone *time_zone, my_time_t secs, const char *name, uint len)
 
bool construct_drop_event_sql (THD *thd, String *sp_sql, LEX_CSTRING schema_name, LEX_CSTRING event_name)
 Get DROP EVENT statement to binlog the drop of ON COMPLETION NOT PRESERVE event. More...
 
bool event_basic_db_equal (LEX_CSTRING db, Event_basic *et)
 
bool event_basic_identifier_equal (LEX_CSTRING db, LEX_CSTRING name, Event_basic *b)