From 34bcd908b57bcfb665e1d79c482ea3d91c9cc017 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 8 Jan 2008 22:34:59 +0000 Subject: [PATCH] Oops, forgot to make DEFAULT_THREAD_STACK match for 64-bit. --- mysql-stack.patch | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mysql-stack.patch b/mysql-stack.patch index 7e00367..9524f83 100644 --- a/mysql-stack.patch +++ b/mysql-stack.patch @@ -13,10 +13,13 @@ arches. diff -Naur mysql-5.0.45.orig/include/my_pthread.h mysql-5.0.45/include/my_pthread.h --- mysql-5.0.45.orig/include/my_pthread.h 2007-07-04 09:06:05.000000000 -0400 -+++ mysql-5.0.45/include/my_pthread.h 2008-01-08 14:51:39.000000000 -0500 -@@ -737,7 +737,7 @@ ++++ mysql-5.0.45/include/my_pthread.h 2008-01-08 17:32:37.000000000 -0500 +@@ -735,9 +735,9 @@ + MySQL can survive with 32K, but some glibc libraries require > 128K stack + To resolve hostnames. Also recursive stored procedures needs stack. */ - #define DEFAULT_THREAD_STACK (512*1024L) +-#define DEFAULT_THREAD_STACK (256*1024L) ++#define DEFAULT_THREAD_STACK (512*1024L) #else -#define DEFAULT_THREAD_STACK (192*1024) +#define DEFAULT_THREAD_STACK (512*1024) @@ -25,7 +28,7 @@ diff -Naur mysql-5.0.45.orig/include/my_pthread.h mysql-5.0.45/include/my_pthrea diff -Naur mysql-5.0.45.orig/sql/mysql_priv.h mysql-5.0.45/sql/mysql_priv.h --- mysql-5.0.45.orig/sql/mysql_priv.h 2007-07-04 09:06:41.000000000 -0400 -+++ mysql-5.0.45/sql/mysql_priv.h 2008-01-08 14:51:55.000000000 -0500 ++++ mysql-5.0.45/sql/mysql_priv.h 2008-01-08 17:32:22.000000000 -0500 @@ -173,7 +173,7 @@ Feel free to raise this by the smallest amount you can to get the "execution_constants" test to pass.