summaryrefslogtreecommitdiff
path: root/include/thr_alarm.h
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-06-05 12:29:13 +0300
committerunknown <monty@narttu.mysql.fi>2003-06-05 12:29:13 +0300
commitcd7148472a6ed55acb64fd12068729096b29bd26 (patch)
treed938b5da0ff603d0b355b772263eee8066fd8cbe /include/thr_alarm.h
parent080f3bd21dcffea0cf386d8e4599afa740628b3b (diff)
downloadmariadb-git-cd7148472a6ed55acb64fd12068729096b29bd26.tar.gz
Print error if we can't delete an alarm
More debugging variables Increment aborted_threads in case of killed or too big packet include/thr_alarm.h: made prototype more portable mysys/thr_alarm.c: Print error if we can't delete an alarm sql/mysqld.cc: Statistics variable (for debugging) sql/net_serv.cc: statistics variable (for debugging) sql/sql_parse.cc: Increment aborted_threads in case of killed or too big packet
Diffstat (limited to 'include/thr_alarm.h')
-rw-r--r--include/thr_alarm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thr_alarm.h b/include/thr_alarm.h
index 439f046252f..8ff4472f700 100644
--- a/include/thr_alarm.h
+++ b/include/thr_alarm.h
@@ -100,7 +100,7 @@ typedef struct st_alarm {
#define thr_alarm_init(A) (*(A))=0
#define thr_alarm_in_use(A) (*(A)!= 0)
void init_thr_alarm(uint max_alarm);
-bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
+my_bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
void thr_alarm_kill(pthread_t thread_id);
void thr_end_alarm(thr_alarm_t *alarmed);
void end_thr_alarm(my_bool free_structures);