rpms/mysql/F-12 .cvsignore, 1.44, 1.45 mysql-plugin-bug.patch, 1.14, 1.15 mysql-strmov.patch, 1.1, 1.2 mysql.init, 1.27, 1.28 mysql.spec, 1.134, 1.135 sources, 1.44, 1.45

Tom Lane tgl at fedoraproject.org
Sat Jan 2 03:52:10 UTC 2010


Author: tgl

Update of /cvs/pkgs/rpms/mysql/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19199

Modified Files:
	.cvsignore mysql-plugin-bug.patch mysql-strmov.patch 
	mysql.init mysql.spec sources 
Log Message:
Update to MySQL 5.1.42; also fix #547485


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/.cvsignore,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- .cvsignore	17 Dec 2009 19:57:13 -0000	1.44
+++ .cvsignore	2 Jan 2010 03:52:09 -0000	1.45
@@ -1 +1 @@
-mysql-5.1.41.tar.gz
+mysql-5.1.42.tar.gz

mysql-plugin-bug.patch:
 disabled.def |    3 +++
 1 file changed, 3 insertions(+)

Index: mysql-plugin-bug.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/mysql-plugin-bug.patch,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- mysql-plugin-bug.patch	17 Dec 2009 19:57:13 -0000	1.14
+++ mysql-plugin-bug.patch	2 Jan 2010 03:52:09 -0000	1.15
@@ -11,13 +11,13 @@ platform-dependent results, with the "ex
 wrong ones.  This is upstream at http://bugs.mysql.com/bug.php?id=46895
 
 
-diff -Naur mysql-5.1.41.orig/mysql-test/t/disabled.def mysql-5.1.41/mysql-test/t/disabled.def
---- mysql-5.1.41.orig/mysql-test/t/disabled.def	2009-11-04 14:00:39.000000000 -0500
-+++ mysql-5.1.41/mysql-test/t/disabled.def	2009-11-23 22:04:14.000000000 -0500
-@@ -15,3 +15,6 @@
- partition_innodb_plugin  : Bug#32430 2009-09-25 mattiasj Waiting for push of Innodb changes
- innodb-autoinc           : Bug#48482 2009-11-02 svoj innodb-autoinc.test fails with results difference
+diff -Naur mysql-5.1.42.orig/mysql-test/t/disabled.def mysql-5.1.42/mysql-test/t/disabled.def
+--- mysql-5.1.42.orig/mysql-test/t/disabled.def	2009-12-16 13:21:00.000000000 -0500
++++ mysql-5.1.42/mysql-test/t/disabled.def	2010-01-01 18:45:49.000000000 -0500
+@@ -13,3 +13,6 @@
+ query_cache_28249        : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadically
  rpl_killed_ddl           : Bug#45520: rpl_killed_ddl fails sporadically in pb2
+ innodb-autoinc           : Bug#49267 2009-12-02 test fails on windows because of different case mode
 +#
 +plugin_load         : gives wrong answer on PPC64
 +outfile_loaddata    : gives different results on different platforms

mysql-strmov.patch:
 m_string.h |    7 -------
 1 file changed, 7 deletions(-)

Index: mysql-strmov.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/mysql-strmov.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- mysql-strmov.patch	1 Sep 2009 03:35:23 -0000	1.1
+++ mysql-strmov.patch	2 Jan 2010 03:52:09 -0000	1.2
@@ -6,6 +6,12 @@ Deleting the definition is sufficient to
 byte-at-a-time copy loop, which should consistently give the
 expected behavior.
 
+Note: the particular case that prompted this patch is reported and fixed
+at http://bugs.mysql.com/bug.php?id=48864.  However, my faith in upstream's
+ability to detect this type of error is low, and I also see little evidence
+of any real performance gain from optimizing these calls.  So I'm keeping
+this patch.
+
 
 diff -Naur mysql-5.1.37.orig/include/m_string.h mysql-5.1.37/include/m_string.h
 --- mysql-5.1.37.orig/include/m_string.h	2009-07-13 19:08:50.000000000 -0400


Index: mysql.init
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/mysql.init,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- mysql.init	17 Dec 2009 19:57:13 -0000	1.27
+++ mysql.init	2 Jan 2010 03:52:09 -0000	1.28
@@ -69,9 +69,11 @@ start(){
 	# but we need to be sure.  (An exception is that we don't force the
 	# log-error setting, since this script doesn't really depend on that,
 	# and some users might prefer to configure logging to syslog.)
+	# Note: set --basedir to prevent probes that might trigger SELinux
+	# alarms, per bug #547485
 	/usr/bin/mysqld_safe   --datadir="$datadir" --socket="$socketfile" \
 		--pid-file="$mypidfile" \
-		--user=mysql >/dev/null 2>&1 &
+		--basedir=/usr --user=mysql >/dev/null 2>&1 &
 	safe_pid=$!
 	# Spin for a maximum of N seconds waiting for the server to come up;
 	# exit the loop immediately if mysqld_safe process disappears.


Index: mysql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/mysql.spec,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -p -r1.134 -r1.135
--- mysql.spec	17 Dec 2009 19:57:13 -0000	1.134
+++ mysql.spec	2 Jan 2010 03:52:09 -0000	1.135
@@ -1,6 +1,6 @@
 Name: mysql
-Version: 5.1.41
-Release: 2%{?dist}
+Version: 5.1.42
+Release: 1%{?dist}
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
 URL: http://www.mysql.com
@@ -649,6 +649,12 @@ fi
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Fri Jan  1 2010 Tom Lane <tgl at redhat.com> 5.1.42-1
+- Update to MySQL 5.1.42, for various fixes described at
+  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
+- Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages
+Resolves: #547485
+
 * Thu Dec 17 2009 Tom Lane <tgl at redhat.com> 5.1.41-2
 - Update to MySQL 5.1.41, for various fixes described at
   http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/F-12/sources,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- sources	17 Dec 2009 19:57:13 -0000	1.44
+++ sources	2 Jan 2010 03:52:09 -0000	1.45
@@ -1 +1 @@
-b5d39e8789174753f3c782959729e68c  mysql-5.1.41.tar.gz
+b644b219e130b7c6bca81948f75d72d7  mysql-5.1.42.tar.gz




More information about the fedora-extras-commits mailing list