summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.h
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-23 18:14:03 +0300
committerunknown <kostja@bodhi.local>2007-03-23 18:14:03 +0300
commit57dc12563f099c7802ea8eaeb0c52ac4082de67a (patch)
tree5ef12de52d0fc1db9c26d6e5e1fe7495f31c7f1b /sql/event_scheduler.h
parent8ed9a54008fae160d63dc27fa02b9ae4348238e7 (diff)
downloadmariadb-git-57dc12563f099c7802ea8eaeb0c52ac4082de67a.tar.gz
Trivial cleanups and whitespace change in Event Scheduler code.
A larger patch is to come, this is to exclude rudimentary changes from it. sql/event_data_objects.cc: Whitespace change. sql/event_data_objects.h: Remove debug allocators - we have safemalloc. sql/event_db_repository.cc: Whitespace change. sql/event_db_repository.h: Whitespace change. sql/event_queue.cc: Remove an unused structure. Whitespace change. sql/event_queue.h: Whitespace. sql/event_scheduler.cc: Whitespace change. sql/event_scheduler.h: Add comments. Whitespace change. sql/events.cc: Whitespace change. sql/events.h: Trivial cleanups.
Diffstat (limited to 'sql/event_scheduler.h')
-rw-r--r--sql/event_scheduler.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/sql/event_scheduler.h b/sql/event_scheduler.h
index 2ab21464057..74d53c4f63d 100644
--- a/sql/event_scheduler.h
+++ b/sql/event_scheduler.h
@@ -15,6 +15,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+/*
+ This file is internal to Events module. Please do not include it directly.
+ All public declarations of Events module are in events.h and
+ event_data_objects.h.
+*/
+
class Event_queue;
class Event_job_data;
@@ -31,7 +37,7 @@ void
deinit_event_thread(THD *thd);
-class Event_worker_thread
+class Event_worker_thread
{
public:
static void
@@ -74,7 +80,7 @@ public:
bool
run(THD *thd);
- void
+ void
init_scheduler(Event_queue *queue);
void
@@ -99,7 +105,7 @@ private:
/* helper functions */
bool
- execute_top(THD *thd, Event_queue_element_for_exec *event_name);
+ execute_top(Event_queue_element_for_exec *event_name);
/* helper functions for working with mutexes & conditionals */
void