List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:April 11 2007 9:10am
Subject:bk commit into 5.1 tree (mats:1.2548) BUG#27583
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of mats. When mats 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@stripped, 2007-04-11 11:10:14+02:00, mats@romeo.(none) +1 -0
  BUG#27583 (slave sql fails to read from iocache when slave got
  stopped at pos==4):
  
  Submitting patch on behalf of Andrei, who discovered the problem
  and provided the patch.
  
  An update of the group relay log coordinates when rotating forgot to
  update the group relay log name and only updated the group relay log
  position (and group master log name and position).
  
  This patch adds code to update the group relay log *name* as well as
  the position 

  sql/log_event.cc@stripped, 2007-04-11 11:10:10+02:00, mats@romeo.(none) +3 -0
    Setting group relay log name as well when rotating, not just the group
    relay log position.

# 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:	mats
# Host:	romeo.(none)
# Root:	/home/bk/w3464-mysql-5.1-new-rpl

--- 1.273/sql/log_event.cc	2007-04-11 11:10:24 +02:00
+++ 1.274/sql/log_event.cc	2007-04-11 11:10:24 +02:00
@@ -3663,6 +3663,9 @@
     memcpy(rli->group_master_log_name, new_log_ident, ident_len+1);
     rli->notify_group_master_log_name_update();
     rli->group_master_log_pos= pos;
+    strmake(rli->group_relay_log_name, rli->event_relay_log_name,
+            sizeof(rli->group_relay_log_name) - 1);
+    rli->notify_group_relay_log_name_update();
     rli->group_relay_log_pos= rli->event_relay_log_pos;
     DBUG_PRINT("info", ("new group_master_log_name: '%s'  "
                         "new group_master_log_pos: %lu",
Thread
bk commit into 5.1 tree (mats:1.2548) BUG#27583Mats Kindahl11 Apr