summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-11-17 16:16:56 +0200
committerunknown <monty@mashka.mysql.fi>2003-11-17 16:16:56 +0200
commitc072804d51c2941a955747afc0dae802e8843845 (patch)
treee0405f8e1feebbfad15401394076809081f03f3f /mysys
parente830279524127d05d65b57405cf77b1a0d5b5133 (diff)
parentd544ef768cec04122e7b4a558bc03b2da837815b (diff)
downloadmariadb-git-c072804d51c2941a955747afc0dae802e8843845.tar.gz
Merge with 3.23 (only comment changes)
BUILD/compile-pentium-gcov: Use local file mysys/thr_alarm.c: Get comment from 3.23 sql/mini_client.cc: Get comment from 3.23
Diffstat (limited to 'mysys')
-rw-r--r--mysys/thr_alarm.c2
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;