Commit 9f399bba authored by kent@mysql.com's avatar kent@mysql.com
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
parent 3e23de49
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