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

Tom Lane (tgl) fedora-extras-commits at redhat.com
Tue Jan 8 22:35:10 UTC 2008


Author: tgl

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

Modified Files:
	mysql-stack.patch 
Log Message:
Oops, forgot to make DEFAULT_THREAD_STACK match for 64-bit.

mysql-stack.patch:

Index: mysql-stack.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-stack.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mysql-stack.patch	8 Jan 2008 21:53:50 -0000	1.9
+++ mysql-stack.patch	8 Jan 2008 22:34:59 -0000	1.10
@@ -13,10 +13,13 @@
 
 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/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.




More information about the fedora-extras-commits mailing list