Commit 2b3a1494 authored by unknown's avatar unknown
Browse files

Bug #11019 mgmapi start backup in some cases returns wrong backupid

parent b5889b90
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,
+2 −1
Original line number Diff line number Diff line
@@ -671,6 +671,7 @@ MgmApiSession::startBackup(Parser<MgmApiSession>::Context &,
  }
  else{
    m_output->println("result: Ok");
    if (completed)
      m_output->println("id: %d", backupId);
  }
  m_output->println("");