rpms/mysql/devel mysql-stack.patch,1.8,1.9

Tom Lane (tgl) fedora-extras-commits at redhat.com
Tue Jan 8 21:53:56 UTC 2008


Author: tgl

Update of /cvs/pkgs/rpms/mysql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17740

Modified Files:
	mysql-stack.patch 
Log Message:
Just for grins, let's see if 48K works or not.

mysql-stack.patch:

Index: mysql-stack.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-stack.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mysql-stack.patch	8 Jan 2008 19:58:47 -0000	1.8
+++ mysql-stack.patch	8 Jan 2008 21:53:50 -0000	1.9
@@ -5,7 +5,7 @@
 "execution_constants" regression test fails.
 
 As of 5.0.45 and F9, it seems 16384 isn't enough anymore either (ppc fails,
-and seems to now need something above 20000 --- why?).  STACK_MIN_SIZE has
+and seems to now need something above 24576 --- why?).  STACK_MIN_SIZE has
 to be enough less than DEFAULT_THREAD_STACK / 8 to provide some headroom,
 which means we are now also forced to raise DEFAULT_THREAD_STACK for 32-bit
 arches.
@@ -16,10 +16,10 @@
 +++ mysql-5.0.45/include/my_pthread.h	2008-01-08 14:51:39.000000000 -0500
 @@ -737,7 +737,7 @@
  */
- #define DEFAULT_THREAD_STACK	(256*1024L)
+ #define DEFAULT_THREAD_STACK	(512*1024L)
  #else
 -#define DEFAULT_THREAD_STACK	(192*1024)
-+#define DEFAULT_THREAD_STACK	(256*1024)
++#define DEFAULT_THREAD_STACK	(512*1024)
  #endif
  #endif
  
@@ -31,7 +31,7 @@
   "execution_constants" test to pass.
   */
 -#define STACK_MIN_SIZE          12000   // Abort if less stack during eval.
-+#define STACK_MIN_SIZE          24576   // Abort if less stack during eval.
++#define STACK_MIN_SIZE          49152   // Abort if less stack during eval.
  
  #define STACK_MIN_SIZE_FOR_OPEN 1024*80
  #define STACK_BUFF_ALLOC        352     // For stack overrun checks




More information about the fedora-extras-commits mailing list