diff options
author | andrey@lmy004. <> | 2006-07-05 17:12:50 +0200 |
---|---|---|
committer | andrey@lmy004. <> | 2006-07-05 17:12:50 +0200 |
commit | 3b840adee7817d141fa9f5935b1d05243e6a8df4 (patch) | |
tree | b703fe1427d5c31cc528ae515b4514eeb6c9dce8 /sql/events.h | |
parent | 2bdd872e5f9e2c6777dcaad232b4f0a53cb023eb (diff) | |
download | mariadb-git-3b840adee7817d141fa9f5935b1d05243e6a8df4.tar.gz |
WL#3337 (Event scheduler new architecture)
Cleaned up the code a bit. Fixed few leaks.
This code still does not load events on server startup
from disk. The problem is that there is a need for a THD instance, which
does not exist during server boot. This will be solved soon.
Still Event_timed is used both for the memory queue and for exectution.
This will be changed according to WL#3337 probably in the next commit.
Diffstat (limited to 'sql/events.h')
-rw-r--r-- | sql/events.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/events.h b/sql/events.h index 357312b44d1..bb9fe7a8fc5 100644 --- a/sql/events.h +++ b/sql/events.h @@ -75,7 +75,7 @@ public: get_instance(); int - create_event(THD *thd, Event_parse_data *parse_data, uint create_options, + create_event(THD *thd, Event_parse_data *parse_data, bool if_exists, uint *rows_affected); int @@ -83,7 +83,7 @@ public: uint *rows_affected); int - drop_event(THD *thd, sp_name *name, bool drop_if_exists, uint *rows_affected); + drop_event(THD *thd, sp_name *name, bool if_exists, uint *rows_affected); int drop_schema_events(THD *thd, char *db); @@ -105,9 +105,9 @@ public: int dump_internal_status(THD *thd); + Event_queue *event_queue; + Event_scheduler_ng *scheduler_ng; Event_db_repository *db_repository; - Event_queue *event_queue; - Event_scheduler_ng *scheduler_ng; private: /* Singleton DP is used */ |