summaryrefslogtreecommitdiff
path: root/sql/event_db_repository.h
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2006-07-03 11:20:08 +0200
committerunknown <andrey@lmy004.>2006-07-03 11:20:08 +0200
commit377446fa3497ffbc0f2a17614d848bfb79f52662 (patch)
tree99e7b4fe6e41946b7b36c74b0c7e898e13945244 /sql/event_db_repository.h
parent8d961c45e2e83f04da92cbfc31d2975a6949743f (diff)
downloadmariadb-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/event_db_repository.h')
-rw-r--r--sql/event_db_repository.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/event_db_repository.h b/sql/event_db_repository.h
index 625d5bfb993..e1c64c8aded 100644
--- a/sql/event_db_repository.h
+++ b/sql/event_db_repository.h
@@ -113,6 +113,9 @@ private:
int
table_scan_all_for_i_s(THD *thd, TABLE *schema_table, TABLE *event_table);
+ static bool
+ check_system_tables(THD *thd);
+
MEM_ROOT repo_root;
/* Prevent use of these */