List:Commits« Previous MessageNext Message »
From:knielsen Date:January 4 2006 2:25pm
Subject:bk commit into 5.0 tree (knielsen:1.2011) BUG#14931
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of knielsen. When knielsen does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2011 06/01/04 15:25:32 knielsen@stripped +2 -0
  BUG#14931: Temporarily add synchronization to avoid sporadic test failures until
  the bug is fixed.

  mysql-test/t/rpl_sp.test
    1.10 06/01/04 15:23:45 knielsen@stripped +8 -0
    BUG#14931: Temporarily add synchronization to avoid sporadic failures until
    the bug is fixed.

  mysql-test/r/rpl_sp.result
    1.14 06/01/04 15:23:45 knielsen@stripped +3 -0
    BUG#14931: Temporarily add synchronization to avoid sporadic failures until
    the bug is fixed.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	knielsen
# Host:	rt.int.sifira.dk
# Root:	/usr/local/mysql/mysql-5.0

--- 1.13/mysql-test/r/rpl_sp.result	2005-11-17 01:15:00 +01:00
+++ 1.14/mysql-test/r/rpl_sp.result	2006-01-04 15:23:45 +01:00
@@ -57,6 +57,9 @@
 grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1;
 grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1;
 grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1;
+SELECT 1;
+1
+1
 create procedure foo4()
 deterministic
 begin

--- 1.9/mysql-test/t/rpl_sp.test	2005-11-17 01:15:00 +01:00
+++ 1.10/mysql-test/t/rpl_sp.test	2006-01-04 15:23:45 +01:00
@@ -87,6 +87,14 @@
 grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1;
 grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1;
 
+# ToDo: BUG#14931: There is a race between the last grant binlogging, and
+# the binlogging in the new connection made below, causing sporadic test
+# failures due to switched statement order in binlog. To fix this we do
+# SELECT 1 in the first connection before starting the second, ensuring
+# that binlogging is done in the expected order.
+# Please remove this SELECT 1 when BUG#14931 is fixed.
+SELECT 1;
+
 connect (con1,127.0.0.1,zedjzlcsjhd,,mysqltest1,$MASTER_MYPORT,);
 connection con1;
 
Thread
bk commit into 5.0 tree (knielsen:1.2011) BUG#14931knielsen4 Jan