Commit e9cc486c authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a typo: schedule, scheduling

parent 2fe990df
...@@ -273,7 +273,7 @@ void thr_end_alarm(thr_alarm_t *alarmed) ...@@ -273,7 +273,7 @@ void thr_end_alarm(thr_alarm_t *alarmed)
/* /*
Come here when some alarm in queue is due. Come here when some alarm in queue is due.
Mark all alarms with are finnished in list. Mark all alarms with are finnished in list.
Shedule alarms to be sent again after 1-10 sec (many alarms at once) Schedule alarms to be sent again after 1-10 sec (many alarms at once)
If alarm_aborted is set then all alarms are given and resent If alarm_aborted is set then all alarms are given and resent
every second. every second.
*/ */
...@@ -425,7 +425,7 @@ void end_thr_alarm(my_bool free_structures) ...@@ -425,7 +425,7 @@ void end_thr_alarm(my_bool free_structures)
if (alarm_aborted != 1) /* If memory not freed */ if (alarm_aborted != 1) /* If memory not freed */
{ {
mysql_mutex_lock(&LOCK_alarm); mysql_mutex_lock(&LOCK_alarm);
DBUG_PRINT("info",("Resheduling %d waiting alarms",alarm_queue.elements)); DBUG_PRINT("info",("Rescheduling %d waiting alarms",alarm_queue.elements));
alarm_aborted= -1; /* mark aborted */ alarm_aborted= -1; /* mark aborted */
if (alarm_queue.elements || (alarm_thread_running && free_structures)) if (alarm_queue.elements || (alarm_thread_running && free_structures))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment