rpms/mysql/devel mysql-setschedparam.patch, NONE, 1.1 .cvsignore, 1.36, 1.37 mysql-plugin-bug.patch, 1.4, 1.5 mysql-stack.patch, 1.12, 1.13 mysql.spec, 1.116, 1.117 sources, 1.36, 1.37

Tom Lane tgl at fedoraproject.org
Tue Apr 7 23:42:10 UTC 2009


Author: tgl

Update of /cvs/pkgs/rpms/mysql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10357

Modified Files:
	.cvsignore mysql-plugin-bug.patch mysql-stack.patch mysql.spec 
	sources 
Added Files:
	mysql-setschedparam.patch 
Log Message:
Update to MySQL 5.1.33

mysql-setschedparam.patch:

--- NEW FILE mysql-setschedparam.patch ---
mysql tries to use pthread_setschedparam() with policy = SCHED_OTHER,
which is not standardized and is not presently supported on Red Hat
platforms; in fact it generates lots of SELinux warnings (bug #477624).
Easiest fix is to disable the configure test for it.


diff -Naur mysql-5.1.33.orig/configure.in mysql-5.1.33/configure.in
--- mysql-5.1.33.orig/configure.in	2009-03-13 17:48:52.000000000 -0400
+++ mysql-5.1.33/configure.in	2009-04-07 19:27:25.000000000 -0400
@@ -2046,10 +2046,10 @@
   localtime_r gethrtime gmtime_r \
   locking longjmp lrand48 madvise mallinfo memcpy memmove \
   mkstemp mlockall perror poll pread pthread_attr_create mmap mmap64 getpagesize \
-  pthread_attr_getstacksize pthread_attr_setprio pthread_attr_setschedparam \
+  pthread_attr_getstacksize pthread_attr_setprio \
   pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np \
   pthread_key_delete pthread_rwlock_rdlock pthread_setprio \
-  pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \
+  pthread_setprio_np pthread_sigmask readlink \
   realpath rename rint rwlock_init setupterm \
   shmget shmat shmdt shmctl sigaction sigemptyset sigaddset \
   sighold sigset sigthreadmask port_create sleep \


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/.cvsignore,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- .cvsignore	5 Mar 2009 02:50:07 -0000	1.36
+++ .cvsignore	7 Apr 2009 23:41:39 -0000	1.37
@@ -1 +1 @@
-mysql-5.1.32.tar.gz
+mysql-5.1.33.tar.gz

mysql-plugin-bug.patch:

Index: mysql-plugin-bug.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-plugin-bug.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mysql-plugin-bug.patch	5 Mar 2009 02:50:07 -0000	1.4
+++ mysql-plugin-bug.patch	7 Apr 2009 23:41:39 -0000	1.5
@@ -7,12 +7,12 @@
 For the moment, just disable this test.
 
 
-diff -Naur mysql-5.1.32.orig/mysql-test/t/disabled.def mysql-5.1.32/mysql-test/t/disabled.def
---- mysql-5.1.32.orig/mysql-test/t/disabled.def	2009-02-13 20:34:40.000000000 -0500
-+++ mysql-5.1.32/mysql-test/t/disabled.def	2009-03-04 18:48:34.000000000 -0500
-@@ -12,3 +12,5 @@
+diff -Naur mysql-5.1.33.orig/mysql-test/t/disabled.def mysql-5.1.33/mysql-test/t/disabled.def
+--- mysql-5.1.33.orig/mysql-test/t/disabled.def	2009-03-13 18:39:40.000000000 -0400
++++ mysql-5.1.33/mysql-test/t/disabled.def	2009-04-07 17:20:13.000000000 -0400
+@@ -11,3 +11,5 @@
+ ##############################################################################
  kill                     : Bug#37780 2008-12-03 HHunger need some changes to be robust enough for pushbuild.
- query_cache_28249        : Bug#41098 Query Cache returns wrong result with concurrent insert
  innodb_bug39438          : BUG#42383 2009-01-28 lsoares "This fails in embedded and on windows.  Note that this test is not run on windows and on embedded in PB for main trees currently"
 +#
 +plugin_load     : gives wrong answer on PPC64

mysql-stack.patch:

Index: mysql-stack.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-stack.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mysql-stack.patch	14 Jan 2009 17:10:05 -0000	1.12
+++ mysql-stack.patch	7 Apr 2009 23:41:39 -0000	1.13
@@ -8,6 +8,10 @@
 to provide some headroom, which means that its value can't be raised too much
 further without increasing the latter as well.
 
+As of 5.1.33 the stock value is 16000, which might be enough ... or maybe
+not.  For the moment, we keep this patch around for reference, but it's
+not being applied.
+
 
 diff -Naur mysql-5.1.30.orig/sql/mysql_priv.h mysql-5.1.30/sql/mysql_priv.h
 --- mysql-5.1.30.orig/sql/mysql_priv.h	2008-11-14 11:37:13.000000000 -0500


Index: mysql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql.spec,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- mysql.spec	5 Mar 2009 02:50:07 -0000	1.116
+++ mysql.spec	7 Apr 2009 23:41:39 -0000	1.117
@@ -1,5 +1,5 @@
 Name: mysql
-Version: 5.1.32
+Version: 5.1.33
 Release: 1%{?dist}
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
@@ -25,11 +25,12 @@
 
 Patch1: mysql-ssl-multilib.patch
 Patch2: mysql-errno.patch
-Patch3: mysql-stack.patch
+# Patch3: mysql-stack.patch
 Patch4: mysql-testing.patch
 Patch5: mysql-install-test.patch
 Patch6: mysql-stack-guard.patch
 Patch7: mysql-plugin-bug.patch
+Patch8: mysql-setschedparam.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gperf, perl, readline-devel, openssl-devel
@@ -165,11 +166,12 @@
 
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+# %patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 libtoolize --force
 aclocal
@@ -635,6 +637,11 @@
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Tue Apr  7 2009 Tom Lane <tgl at redhat.com> 5.1.33-1
+- Update to MySQL 5.1.33.
+- Disable use of pthread_setschedparam; doesn't work the way code expects.
+Related: #477624
+
 * Wed Mar  4 2009 Tom Lane <tgl at redhat.com> 5.1.32-1
 - Update to MySQL 5.1.32.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/sources,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- sources	5 Mar 2009 02:50:07 -0000	1.36
+++ sources	7 Apr 2009 23:41:39 -0000	1.37
@@ -1 +1 @@
-f2d14b5e3b9d50b809c9b9985e4513b7  mysql-5.1.32.tar.gz
+9c5711e9bea4514df6f2659f283f0aa0  mysql-5.1.33.tar.gz




More information about the fedora-extras-commits mailing list