diff options
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r-- | sql/event_scheduler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 78802a5e109..86075485865 100644 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -668,7 +668,7 @@ Event_scheduler::stop() sql_print_information("Event Scheduler: Killing the scheduler thread, " "thread id %lu", (ulong) scheduler_thd->thread_id); - scheduler_thd->awake(KILL_CONNECTION); + scheduler_thd->kill_me_pls(KILL_CONNECTION); /* thd could be 0x0, when shutting down */ sql_print_information("Event Scheduler: " @@ -676,7 +676,7 @@ Event_scheduler::stop() /* Wait only 2 seconds, as there is a small chance the thread missed the - above awake() call and we may have to do it again + above kill_me_pls() call and we may have to do it again */ struct timespec top_time; set_timespec(top_time, 2); |