From af6141b2f85c72bd1920ba5e6cd7cca1756320c4 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Feb 2004 19:32:05 +0100 Subject: [PATCH] increase the size of a signal thread's stack (the old one was too small for the thread to be created on some systems) bug#2599 --- sql/mysqld.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 14db51cf6fd..2ab2e33ce2f 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -1689,7 +1689,7 @@ static void start_signal_handler(void) (void) pthread_attr_setdetachstate(&thr_attr,PTHREAD_CREATE_DETACHED); if (!(opt_specialflag & SPECIAL_NO_PRIOR)) my_pthread_attr_setprio(&thr_attr,INTERRUPT_PRIOR); - pthread_attr_setstacksize(&thr_attr,32768); + pthread_attr_setstacksize(&thr_attr,thread_stack); #endif (void) pthread_mutex_lock(&LOCK_thread_count);