rpms/mysql/devel mysql-rpl-test.patch, NONE, 1.1 mysql.spec, 1.69, 1.70

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jan 5 07:09:09 UTC 2006


Author: tgl

Update of /cvs/dist/rpms/mysql/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15591

Modified Files:
	mysql.spec 
Added Files:
	mysql-rpl-test.patch 
Log Message:
Hack to get mysql regression tests to pass more reliably.

mysql-rpl-test.patch:
 r/rpl000001.result |    1 +
 t/rpl000001.test   |    1 +
 2 files changed, 2 insertions(+)

--- NEW FILE mysql-rpl-test.patch ---
This patch improves the stability of the mysql regression tests on Red Hat's
build servers.  I really have no idea why ... it is probably masking a
bug in mysqld, but without a better handle on how to reproduce the problem,
it's tough to make a bug report.  Worth noting is that rpl000001 passes
fine when run by itself, or with the immediately preceding tests; but fails
when the complete test series is run.


diff -Naur mysql-5.0.18.orig/mysql-test/r/rpl000001.result mysql-5.0.18/mysql-test/r/rpl000001.result
--- mysql-5.0.18.orig/mysql-test/r/rpl000001.result	2005-12-21 14:50:25.000000000 -0500
+++ mysql-5.0.18/mysql-test/r/rpl000001.result	2006-01-05 01:57:17.000000000 -0500
@@ -1,3 +1,4 @@
+flush privileges;
 stop slave;
 drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 reset master;
diff -Naur mysql-5.0.18.orig/mysql-test/t/rpl000001.test mysql-5.0.18/mysql-test/t/rpl000001.test
--- mysql-5.0.18.orig/mysql-test/t/rpl000001.test	2005-12-21 14:50:25.000000000 -0500
+++ mysql-5.0.18/mysql-test/t/rpl000001.test	2006-01-05 01:57:15.000000000 -0500
@@ -1,3 +1,4 @@
+flush privileges;
 source include/master-slave.inc;
 
 create table t1 (word char(20) not null);


Index: mysql.spec
===================================================================
RCS file: /cvs/dist/rpms/mysql/devel/mysql.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- mysql.spec	5 Jan 2006 03:39:46 -0000	1.69
+++ mysql.spec	5 Jan 2006 07:09:06 -0000	1.70
@@ -23,6 +23,7 @@
 Patch4: mysql-testing.patch
 Patch5: mysql-no-atomic.patch
 Patch6: mysql-rpl_ddl.patch
+Patch7: mysql-rpl-test.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
@@ -98,6 +99,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 libtoolize --force
 aclocal
@@ -378,7 +380,7 @@
 %{_datadir}/sql-bench
 
 %changelog
-* Wed Jan  4 2006 Tom Lane <tgl at redhat.com> 5.0.18-1
+* Thu Jan  5 2006 Tom Lane <tgl at redhat.com> 5.0.18-1
 - Update to MySQL 5.0.18
 
 * Thu Dec 15 2005 Tom Lane <tgl at redhat.com> 5.0.16-4




More information about the fedora-cvs-commits mailing list