summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.cc
diff options
context:
space:
mode:
authorandrey@lmy004. <>2006-06-28 14:22:14 +0200
committerandrey@lmy004. <>2006-06-28 14:22:14 +0200
commit03e0a2315e62aa6ff754b166a3dc10fd5442eeab (patch)
tree5f8ea7fe8597821677207641a35819493c44dedd /sql/event_scheduler.cc
parent9309fae9b5261e888f15d903b4110b272ffdb917 (diff)
downloadmariadb-git-03e0a2315e62aa6ff754b166a3dc10fd5442eeab.tar.gz
WL#3337 (Events new architecture)
Cut number 6. Move code from sql_show.cc to event_db_repository.cc that more belongs to the latter.
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r--sql/event_scheduler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc
index 60c9cda0a56..cb500de53b9 100644
--- a/sql/event_scheduler.cc
+++ b/sql/event_scheduler.cc
@@ -2159,7 +2159,7 @@ Event_scheduler::load_events_from_db(THD *thd)
DBUG_RETURN(EVEX_GENERAL_ERROR);
}
- if ((ret= Events::get_instance()->open_event_table(thd, TL_READ, &table)))
+ if ((ret= db_repository->open_event_table(thd, TL_READ, &table)))
{
sql_print_error("SCHEDULER: Table mysql.event is damaged. Can not open.");
DBUG_RETURN(EVEX_OPEN_TABLE_FAILED);