Update to MySQL 5.1.33
This commit is contained in:
parent
ed2c5b9498
commit
af5d0e52a1
@ -1 +1 @@
|
||||
mysql-5.1.32.tar.gz
|
||||
mysql-5.1.33.tar.gz
|
||||
|
@ -7,12 +7,12 @@ http://bugs.mysql.com/bug.php?id=42144
|
||||
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
|
||||
|
22
mysql-setschedparam.patch
Normal file
22
mysql-setschedparam.patch
Normal file
@ -0,0 +1,22 @@
|
||||
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 \
|
@ -8,6 +8,10 @@ Note: STACK_MIN_SIZE has to be enough less than DEFAULT_THREAD_STACK / 8
|
||||
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
|
||||
|
13
mysql.spec
13
mysql.spec
@ -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 @@ Source999: filter-requires-mysql.sh
|
||||
|
||||
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 @@ the MySQL sources.
|
||||
|
||||
%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 @@ fi
|
||||
%{_mandir}/man1/mysql_client_test.1*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 7 2009 Tom Lane <tgl@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@redhat.com> 5.1.32-1
|
||||
- Update to MySQL 5.1.32.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user