summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-07-06 01:10:00 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2009-07-06 01:11:45 -0700
commit89dbf609d084eb353c048afa499aba953949f102 (patch)
treee064822e109ee3a077a475a647900a09ce3aa5b3 /07160_all_flush_priveleges_in_tests.patch
parentFix bug #271475, #elif not valid without an argument. Use #else instead. (diff)
downloadmysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.gz
mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.bz2
mysql-extras-89dbf609d084eb353c048afa499aba953949f102.zip
Need to use 5 digits of numbering now. LOTS of patches to track.
Diffstat (limited to '07160_all_flush_priveleges_in_tests.patch')
-rw-r--r--07160_all_flush_priveleges_in_tests.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/07160_all_flush_priveleges_in_tests.patch b/07160_all_flush_priveleges_in_tests.patch
new file mode 100644
index 0000000..4794710
--- /dev/null
+++ b/07160_all_flush_priveleges_in_tests.patch
@@ -0,0 +1,51 @@
+Patch borrowed from CentOS mysql-rpl_ddl.patch
+diff -Naur mysql-5.0.15.orig/mysql-test/r/rpl_ddl.result mysql-5.0.15/mysql-test/r/rpl_ddl.result
+--- mysql-5.0.15.orig/mysql-test/r/rpl_ddl.result 2005-10-16 21:37:08.000000000 -0400
++++ mysql-5.0.15/mysql-test/r/rpl_ddl.result 2005-11-03 17:28:30.000000000 -0500
+@@ -1688,6 +1688,7 @@
+ -------- switch to slave -------
+ SELECT user FROM mysql.user WHERE user = 'rename1';
+ user
++flush privileges;
+ DROP DATABASE IF EXISTS mysqltest1;
+ DROP DATABASE IF EXISTS mysqltest2;
+ DROP DATABASE IF EXISTS mysqltest3;
+diff -Naur mysql-5.0.15.orig/mysql-test/t/rpl_ddl.test mysql-5.0.15/mysql-test/t/rpl_ddl.test
+--- mysql-5.0.15.orig/mysql-test/t/rpl_ddl.test 2005-10-16 21:37:08.000000000 -0400
++++ mysql-5.0.15/mysql-test/t/rpl_ddl.test 2005-11-03 17:28:28.000000000 -0500
+@@ -498,6 +498,10 @@
+ SELECT user FROM mysql.user WHERE user = 'rename1';
+ connection master;
+
++# Needed to avoid failure in next test on some platforms ...
++# this probably indicates an underlying MySQL bug ...
++flush privileges;
++
+ ###############################################################
+ # Cleanup
+ ###############################################################
+Patch borrowed from CentOS 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);