summaryrefslogtreecommitdiff
path: root/sql/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/events.h')
-rw-r--r--sql/events.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sql/events.h b/sql/events.h
index 737044ad298..9a820b8521e 100644
--- a/sql/events.h
+++ b/sql/events.h
@@ -48,9 +48,18 @@ public:
or other scheme will be found.
*/
friend class Event_queue_element;
-
- static ulong opt_event_scheduler;
+
+ /* The order should match the order in opt_typelib */
+ enum enum_opt_event_scheduler
+ {
+ EVENTS_OFF= 0,
+ EVENTS_ON= 1,
+ EVENTS_DISABLED= 5,
+ };
+
+ static enum_opt_event_scheduler opt_event_scheduler;
static TYPELIB opt_typelib;
+ static TYPELIB var_typelib;
bool
init();