diff options
Diffstat (limited to 'ndb/src/mgmclient/CommandInterpreter.cpp')
-rw-r--r-- | ndb/src/mgmclient/CommandInterpreter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ndb/src/mgmclient/CommandInterpreter.cpp b/ndb/src/mgmclient/CommandInterpreter.cpp index 1258f86ccc4..e0935c2104e 100644 --- a/ndb/src/mgmclient/CommandInterpreter.cpp +++ b/ndb/src/mgmclient/CommandInterpreter.cpp @@ -2020,46 +2020,46 @@ CmdBackupCallback(const MgmtSrvr::BackupEvent & event){ switch(event.Event){ case MgmtSrvr::BackupEvent::BackupStarted: ok = true; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), "Backup %d started", event.Started.BackupId); break; case MgmtSrvr::BackupEvent::BackupFailedToStart: ok = true; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), "Backup failed to start (Error %d)", event.FailedToStart.ErrorCode); break; case MgmtSrvr::BackupEvent::BackupCompleted: ok = true; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), "Backup %d completed", event.Completed.BackupId); ndbout << str << endl; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), " StartGCP: %d StopGCP: %d", event.Completed.startGCP, event.Completed.stopGCP); ndbout << str << endl; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), " #Records: %d #LogRecords: %d", event.Completed.NoOfRecords, event.Completed.NoOfLogRecords); ndbout << str << endl; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), " Data: %d bytes Log: %d bytes", event.Completed.NoOfBytes, event.Completed.NoOfLogBytes); break; case MgmtSrvr::BackupEvent::BackupAborted: ok = true; - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), "Backup %d has been aborted reason %d", event.Aborted.BackupId, event.Aborted.Reason); break; } if(!ok){ - snprintf(str, sizeof(str), + BaseString::snprintf(str, sizeof(str), "Unknown backup event: %d", event.Event); |