summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2007-03-23 13:38:42 +0200
committerunknown <serg@sergbook.mysql.com>2007-03-23 13:38:42 +0200
commit6e1f446ae1f8484e069539c415818d9b9bd511e3 (patch)
tree08589c7204d910b062b9296121897626f1e6a822 /mysys
parent5305cd7caf74919b1da4413a9923da1c0ff00734 (diff)
downloadmariadb-git-6e1f446ae1f8484e069539c415818d9b9bd511e3.tar.gz
move thr_client_alarm initialization to mysqld.cc
(in thr_alarm.cc it happened too late). mysys/thr_alarm.c: move thr_client_alarm initialization to mysqld.cc (here it happened too late) sql/mysqld.cc: move thr_client_alarm initialization to mysqld.cc (in thr_alarm.cc it happened too late). moved thr_kill_signal initialization to init_signals()
Diffstat (limited to 'mysys')
-rw-r--r--mysys/thr_alarm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c
index 759544af17b..396623dea21 100644
--- a/mysys/thr_alarm.c
+++ b/mysys/thr_alarm.c
@@ -78,10 +78,6 @@ void init_thr_alarm(uint max_alarms)
sigfillset(&full_signal_set); /* Neaded to block signals */
pthread_mutex_init(&LOCK_alarm,MY_MUTEX_INIT_FAST);
pthread_cond_init(&COND_alarm,NULL);
- if (thd_lib_detected == THD_LIB_LT)
- thr_client_alarm= SIGALRM;
- else
- thr_client_alarm= SIGUSR1;
#ifndef USE_ALARM_THREAD
if (thd_lib_detected != THD_LIB_LT)
#endif