List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:August 10 2006 6:27am
Subject:bk commit into 5.1 tree (stewart:1.2228) BUG#20823
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart 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, 2006-08-10 14:27:00+08:00, stewart@willster.(none) +1 -0
  BUG#20823 testBackup failing in FailMaster
  
  fix after jonas review

  storage/ndb/src/kernel/blocks/backup/Backup.cpp@stripped, 2006-08-10 14:26:54+08:00, stewart@willster.(none) +5 -0
    Check tabPtr.i early to make code look cleaner

# 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:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.1/bug20823

--- 1.49/storage/ndb/src/kernel/blocks/backup/Backup.cpp	2006-08-10 14:27:07 +08:00
+++ 1.50/storage/ndb/src/kernel/blocks/backup/Backup.cpp	2006-08-10 14:27:07 +08:00
@@ -2001,6 +2001,11 @@
         TablePtr tabPtr;
         ptr.p->tables.first(tabPtr);
 
+        if (tabPtr.i == RNIL)
+        {
+          closeFiles(signal, ptr);
+          return;
+        }
         signal->theData[0] = BackupContinueB::BACKUP_FRAGMENT_INFO;
         signal->theData[1] = ptr.i;
         signal->theData[2] = tabPtr.i;
Thread
bk commit into 5.1 tree (stewart:1.2228) BUG#20823Stewart Smith10 Aug