summaryrefslogtreecommitdiff
path: root/sql/event_queue.h
diff options
context:
space:
mode:
authorunknown <andrey@whirlpool.mysql.com>2007-05-21 10:51:11 +0200
committerunknown <andrey@whirlpool.mysql.com>2007-05-21 10:51:11 +0200
commit3da4eef70072d713700219fb061cc497235477a3 (patch)
treefe97a37c60c26ae6368008b0300c3e22cc8dffc8 /sql/event_queue.h
parent3d01594f349a540068943b1ba7ddea2ec2e448ef (diff)
downloadmariadb-git-3da4eef70072d713700219fb061cc497235477a3.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. sql/event_queue.cc: Initialize member variables or they will point to nirvana and could possible cause a crash during dumping of debug information. sql/event_queue.h: remove unneeded line sql/event_scheduler.cc: Initialize member variables or they will point to nirvana and could possible cause a crash during dumping of debug information. sql/event_scheduler.h: remove unneeded state
Diffstat (limited to 'sql/event_queue.h')
-rw-r--r--sql/event_queue.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/event_queue.h b/sql/event_queue.h
index 04bb8b93b06..ac4a4f2bfd7 100644
--- a/sql/event_queue.h
+++ b/sql/event_queue.h
@@ -104,7 +104,6 @@ private:
bool mutex_queue_data_locked;
bool mutex_queue_data_attempting_lock;
bool waiting_on_cond;
-
};
#endif /* _EVENT_QUEUE_H_ */