Commit f84ef209 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0

into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1


storage/ndb/include/mgmapi/mgmapi.h:
  Auto merged
storage/ndb/src/mgmsrv/Services.cpp:
  Auto merged
parents 677fa073 2b3a1494
...@@ -915,6 +915,8 @@ extern "C" { ...@@ -915,6 +915,8 @@ extern "C" {
* @param backup_id Backup ID is returned from function. * @param backup_id Backup ID is returned from function.
* @param reply Reply message. * @param reply Reply message.
* @return -1 on error. * @return -1 on error.
* @note backup_id will not be returned if
* wait_completed == 0
*/ */
int ndb_mgm_start_backup(NdbMgmHandle handle, int wait_completed, int ndb_mgm_start_backup(NdbMgmHandle handle, int wait_completed,
unsigned int* backup_id, unsigned int* backup_id,
......
...@@ -671,7 +671,8 @@ MgmApiSession::startBackup(Parser<MgmApiSession>::Context &, ...@@ -671,7 +671,8 @@ MgmApiSession::startBackup(Parser<MgmApiSession>::Context &,
} }
else{ else{
m_output->println("result: Ok"); m_output->println("result: Ok");
m_output->println("id: %d", backupId); if (completed)
m_output->println("id: %d", backupId);
} }
m_output->println(""); m_output->println("");
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment