summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.h
diff options
context:
space:
mode:
authorkostja@bodhi.local <>2007-03-23 18:14:03 +0300
committerkostja@bodhi.local <>2007-03-23 18:14:03 +0300
commit094612854d44012aa5127a01ec2cc03d26abc1ef (patch)
tree5ef12de52d0fc1db9c26d6e5e1fe7495f31c7f1b /sql/event_scheduler.h
parentf017117d84c7e05e89b27fc6a4ae3561dec23ad1 (diff)
downloadmariadb-git-094612854d44012aa5127a01ec2cc03d26abc1ef.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.
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