List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:November 9 2012 2:45pm
Subject:bzr push into mysql-5.1-telco-7.1 branch (frazer.clement:4654 to 4655)
View as plain text  
 4655 Frazer Clement	2012-11-09 [merge]
      Merge 7.0->7.1

    modified:
      storage/ndb/src/kernel/blocks/backup/Backup.cpp
 4654 Ole John Aske	2012-11-08 [merge]
      Merge 7.0 -> 7.1

    modified:
      storage/ndb/src/kernel/blocks/dbspj/Dbspj.hpp
      storage/ndb/src/kernel/blocks/dbspj/DbspjMain.cpp
=== modified file 'storage/ndb/src/kernel/blocks/backup/Backup.cpp'
--- a/storage/ndb/src/kernel/blocks/backup/Backup.cpp	2012-11-07 17:29:01 +0000
+++ b/storage/ndb/src/kernel/blocks/backup/Backup.cpp	2012-11-09 14:27:44 +0000
@@ -6041,15 +6041,6 @@ Backup::execLCP_STATUS_REQ(Signal* signa
         FragmentPtr fragPtr;
         BackupFilePtr filePtr;
         
-        ptr.p->tables.first(tabPtr);
-        if (tabPtr.i == RNIL)
-        {
-          jam();
-          failCode = LcpStatusRef::NoTableRecord;
-          break;
-        }
-        tabPtr.p->fragments.getPtr(fragPtr, 0);
-        ndbrequire(fragPtr.p->tableId == tabPtr.p->tableId);
         if (ptr.p->dataFilePtr == RNIL)
         {
           jam();
@@ -6058,8 +6049,16 @@ Backup::execLCP_STATUS_REQ(Signal* signa
         }
         c_backupFilePool.getPtr(filePtr, ptr.p->dataFilePtr);
         ndbrequire(filePtr.p->backupPtr == ptr.i);
-        conf->tableId = tabPtr.p->tableId;
-        conf->fragId = fragPtr.p->fragmentId;
+
+        ptr.p->tables.first(tabPtr);
+        if (tabPtr.i != RNIL)
+        {
+          jam();
+          tabPtr.p->fragments.getPtr(fragPtr, 0);
+          ndbrequire(fragPtr.p->tableId == tabPtr.p->tableId);
+          conf->tableId = tabPtr.p->tableId;
+          conf->fragId = fragPtr.p->fragmentId;
+        }
         
         if (state == LcpStatusConf::LCP_SCANNING)
         {

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.1 branch (frazer.clement:4654 to 4655) Frazer Clement12 Nov