Commit 1fde988a authored by unknown's avatar unknown
Browse files

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
parent d9d7b44c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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