mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -643,10 +643,10 @@ extern int pthread_dummy(int);
|
|||||||
|
|
||||||
#define THREAD_NAME_SIZE 10
|
#define THREAD_NAME_SIZE 10
|
||||||
#ifndef DEFAULT_THREAD_STACK
|
#ifndef DEFAULT_THREAD_STACK
|
||||||
#if defined(__ia64__)
|
#if SIZEOF_CHARP > 4
|
||||||
/*
|
/*
|
||||||
MySQL can survive with 32K, but some glibc libraries require > 128K stack
|
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)
|
#define DEFAULT_THREAD_STACK (256*1024L)
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user