List:Commits« Previous MessageNext Message »
From:rsomla Date:March 27 2007 5:30pm
Subject:bk commit into 5.1 tree (rafal:1.2491)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of rafal. When rafal 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-03-27 19:30:42+02:00, rafal@quant.(none) +1 -0
  WL#3327: This is the first bug fix in backup code! Thanks Guilhem for 
  spotting this!

  sql/backup/data_backup.cc@stripped, 2007-03-27 19:30:38+02:00, rafal@quant.(none) +1 -0
    We move buf.data so we need to decrease buf.size...

# 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:	rafal
# Host:	quant.(none)
# Root:	/ext/mysql/bk/backup/prototype-push

--- 1.2/sql/backup/data_backup.cc	2007-03-27 19:30:48 +02:00
+++ 1.3/sql/backup/data_backup.cc	2007-03-27 19:30:48 +02:00
@@ -881,6 +881,7 @@
       img_no= uint2korr(buf.data);
       buf.stream_no= uint2korr(buf.data+2);
       buf.data += 4;
+      buf.size -= 4;
 
       DBUG_PRINT("restore",("Got %d bytes of subimage %d data (stream %d)",buf.size, img_no, buf.stream_no));
 
Thread
bk commit into 5.1 tree (rafal:1.2491)rsomla27 Mar