diff options
author | monty@mashka.mysql.fi <> | 2003-11-17 16:16:56 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-11-17 16:16:56 +0200 |
commit | 2846a16c57bff1cd22811656ad4a434f9342e5e8 (patch) | |
tree | e0405f8e1feebbfad15401394076809081f03f3f /mysys/thr_alarm.c | |
parent | a651262a105f026147031dd13098dcd908218e20 (diff) | |
parent | 2e04da08736a067a8f9d89c13bef3630a8bba166 (diff) | |
download | mariadb-git-2846a16c57bff1cd22811656ad4a434f9342e5e8.tar.gz |
Merge with 3.23 (only comment changes)
Diffstat (limited to 'mysys/thr_alarm.c')
-rw-r--r-- | mysys/thr_alarm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c index bf40ffc5b4d..54aa4d421f6 100644 --- a/mysys/thr_alarm.c +++ b/mysys/thr_alarm.c @@ -770,7 +770,9 @@ bool thr_got_alarm(thr_alarm_t *alrm_ptr) void thr_end_alarm(thr_alarm_t *alrm_ptr) { thr_alarm_t alrm= *alrm_ptr; + /* alrm may be zero if thr_alarm aborted with an error */ if (alrm && alrm->crono) + { KillTimer(NULL, alrm->crono); alrm->crono = 0; |