summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-12-13 00:45:32 +0100
committerunknown <kent@mysql.com>2005-12-13 00:45:32 +0100
commit1fde988a5dc7b0819ac96db3b9ee17ec9e2c0d67 (patch)
treebfed9810a1f00f7a7578ce8829843ebea583a712 /include/my_pthread.h
parentd9d7b44c3b3249c25286e5ccf4e89413e8e8fc89 (diff)
downloadmariadb-git-1fde988a5dc7b0819ac96db3b9ee17ec9e2c0d67.tar.gz
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
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h4
1 files 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