summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 838037b6e20..2dde7f44a55 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -782,6 +782,17 @@ public:
bool update(THD *thd, set_var *var);
};
+
+class sys_var_event_executor :public sys_var_bool_ptr
+{
+ /* We need a derived class only to have a warn_deprecated() */
+public:
+ sys_var_event_executor(const char *name_arg, my_bool *value_arg) :
+ sys_var_bool_ptr(name_arg, value_arg) {};
+ bool update(THD *thd, set_var *var);
+};
+
+
/****************************************************************************
Classes for parsing of the SET command
****************************************************************************/