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
This commit is contained in:
unknown 2005-06-02 01:18:03 +02:00
commit f84ef209c8
2 changed files with 4 additions and 1 deletions

View file

@ -915,6 +915,8 @@ extern "C" {
* @param backup_id Backup ID is returned from function.
* @param reply Reply message.
* @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,
unsigned int* backup_id,

View file

@ -671,7 +671,8 @@ MgmApiSession::startBackup(Parser<MgmApiSession>::Context &,
}
else{
m_output->println("result: Ok");
m_output->println("id: %d", backupId);
if (completed)
m_output->println("id: %d", backupId);
}
m_output->println("");
DBUG_VOID_RETURN;