diff options
author | unknown <andrey@lmy004.> | 2006-07-03 11:20:08 +0200 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-07-03 11:20:08 +0200 |
commit | 377446fa3497ffbc0f2a17614d848bfb79f52662 (patch) | |
tree | 99e7b4fe6e41946b7b36c74b0c7e898e13945244 /sql/events.cc | |
parent | 8d961c45e2e83f04da92cbfc31d2975a6949743f (diff) | |
download | mariadb-git-377446fa3497ffbc0f2a17614d848bfb79f52662.tar.gz |
WL#3337 (Event scheduler new architecture)
This is the first cut of separating Event_scheduler in two
classes which are more specialized.
Inheritance was used to separate methods and member variables.
Still Event_scheduler is a child of Event_queue. This dependency
will be removed soon.
sql/event_data_objects.cc:
add comments
sql/event_db_repository.cc:
coding style
sql/event_db_repository.h:
add a call, will be implemented later
sql/event_queue.cc:
Event_queue, still as super-class of Event_scheduler
sql/event_queue.h:
Event_queue as super-class of Event_scheduler. Trying to
separate the two classes
sql/event_scheduler.cc:
Event_scheduler as child class of Event_queue.
Trying to separate both classes.
sql/event_scheduler.h:
Event_scheduler as child class of Event_queue.
Trying to separate both classes.
sql/events.cc:
Don't allocate on the stack the scheduler but on the heap.
The exact way it is done will be changed, that's ok for now.
Diffstat (limited to 'sql/events.cc')
-rw-r--r-- | sql/events.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/events.cc b/sql/events.cc index 28c57d6b493..09d5ee21a4f 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -559,6 +559,7 @@ void Events::init_mutexes() { db_repository= new Event_db_repository; + Event_scheduler::create_instance(); Event_scheduler::init_mutexes(); } |