From 1fde988a5dc7b0819ac96db3b9ee17ec9e2c0d67 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 13 Dec 2005 00:45:32 +0100 Subject: [PATCH] my_pthread.h: Bug#15629: Increased thread stack for all 64 bit platforms, else test case 'sp' and 'call fib(20)' gives stack overrun include/my_pthread.h: Bug#15629: Increased thread stack for all 64 bit platforms, else test case 'sp' and 'call fib(20)' gives stack overrun --- include/my_pthread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/my_pthread.h b/include/my_pthread.h index 6f60a6df2c1..202e047dc4e 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -643,10 +643,10 @@ extern int pthread_dummy(int); #define THREAD_NAME_SIZE 10 #ifndef DEFAULT_THREAD_STACK -#if defined(__ia64__) +#if SIZEOF_CHARP > 4 /* MySQL can survive with 32K, but some glibc libraries require > 128K stack - To resolve hostnames + To resolve hostnames. Also recursive stored procedures needs stack. */ #define DEFAULT_THREAD_STACK (256*1024L) #else