List:Commits« Previous MessageNext Message »
From:justin.he Date:March 22 2007 8:54am
Subject:bk commit into 5.1 tree (Justin.He:1.2486) BUG#25446
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of justin.he. When justin.he 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-22 15:54:41+08:00, Justin.He@stripped +1 -0
  Bug#25446, START BACKUP NOWAIT Reports error and then continues

  storage/ndb/src/mgmclient/CommandInterpreter.cpp@stripped, 2007-03-22 15:54:38+08:00,
Justin.He@stripped +2 -0
    add a goto to avoid a repeated ndb_mgm_start_backup() call

# 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:	Justin.He
# Host:	dev3-240.dev.cn.tlan
# Root:	/home/justin.he/mysql/mysql-5.1/bug25446-5.1-new-ndb-bj

--- 1.86/storage/ndb/src/mgmclient/CommandInterpreter.cpp	2007-03-22 15:54:49 +08:00
+++ 1.87/storage/ndb/src/mgmclient/CommandInterpreter.cpp	2007-03-22 15:54:49 +08:00
@@ -2489,6 +2489,7 @@
   {
     flags = 0;
     result = ndb_mgm_start_backup(m_mgmsrv, 0, &backupId, &reply);
+    goto END_BACKUP;
   }
   else if (sz == 1 || (sz == 3 && args[1] == "WAIT" && args[2] ==
"COMPLETED"))
   {
@@ -2522,6 +2523,7 @@
   }
   result = ndb_mgm_start_backup(m_mgmsrv, flags, &backupId, &reply);
 
+END_BACKUP:
   if (result != 0) {
     ndbout << "Backup failed" << endl;
     printError();
Thread
bk commit into 5.1 tree (Justin.He:1.2486) BUG#25446justin.he22 Mar