summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
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