28 #ifdef HAVE_PSI_INTERFACE
29 extern PSI_mutex_key key_event_scheduler_LOCK_scheduler_state;
30 extern PSI_cond_key key_event_scheduler_COND_state;
31 extern PSI_thread_key key_thread_event_scheduler, key_thread_event_worker;
39 #include "sql_string.h"
82 enum enum_opt_event_scheduler { EVENTS_OFF, EVENTS_ON, EVENTS_DISABLED };
84 static ulong opt_event_scheduler;
86 static bool start(
int *err_no);
92 get_db_repository() {
return db_repository; }
95 init(my_bool opt_noacl);
125 longlong expression);
131 dump_internal_status();
136 load_events_from_db(THD *thd);
143 static bool check_system_tables_error;