summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.h
diff options
context:
space:
mode:
authorandrey@whirlpool.mysql.com <>2007-05-21 10:51:11 +0200
committerandrey@whirlpool.mysql.com <>2007-05-21 10:51:11 +0200
commitce856126d9d53c4053e34451d00e312c4aeff2a5 (patch)
treefe97a37c60c26ae6368008b0300c3e22cc8dffc8 /sql/event_scheduler.h
parent43894d62f1b098aa79584e6da9da7547191d4f62 (diff)
downloadmariadb-git-ce856126d9d53c4053e34451d00e312c4aeff2a5.tar.gz
Fix for bug#28075 COM_DEBUG crashes mysqld
Uninitialized in the constructor member variables were pointing to nirvana and causing a crash when debug information of the Event Scheduler was dumped in result to COM_DEBUG packet sent to the server.
Diffstat (limited to 'sql/event_scheduler.h')
-rw-r--r--sql/event_scheduler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/event_scheduler.h b/sql/event_scheduler.h
index 70635196745..eba66c68d42 100644
--- a/sql/event_scheduler.h
+++ b/sql/event_scheduler.h
@@ -111,8 +111,7 @@ private:
enum enum_state
{
- UNINITIALIZED = 0,
- INITIALIZED,
+ INITIALIZED = 0,
RUNNING,
STOPPING
};