List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:June 20 2007 10:21am
Subject:bk commit into 5.0 tree (aelkin:1.2494) BUG#27583
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of elkin. When elkin 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-06-20 13:21:16+03:00, aelkin@stripped +1 -0
  Bug #27583 slave sql fails to read from iocache when slave got stopped at pos==4
  
  forgotten merge with 5.0. There can be some bugs waiting for this fix in 5.0 like Bug@29232

  sql/log_event.cc@stripped, 2007-06-20 13:21:14+03:00, aelkin@stripped +2 -0
    file name is changed in step with the 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:	aelkin
# Host:	dsl-hkibras1-ff5dc300-70.dhcp.inet.fi
# Root:	/home/elkin/MySQL/TEAM/FIXES/5.0/bug27583-relay_log_name

--- 1.233/sql/log_event.cc	2007-05-28 22:20:18 +03:00
+++ 1.234/sql/log_event.cc	2007-06-20 13:21:14 +03:00
@@ -3397,6 +3397,8 @@ int Rotate_log_event::exec_event(struct 
     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->group_relay_log_pos= rli->event_relay_log_pos;
     DBUG_PRINT("info", ("group_master_log_name: '%s' group_master_log_pos:\
 %lu",
Thread
bk commit into 5.0 tree (aelkin:1.2494) BUG#27583Andrei Elkin20 Jun