Commit 0114d06c authored by unknown's avatar unknown

[PATCH] BUG#25064 Remove newlines from cluster log

Index: ndb/storage/ndb/src/common/debugger/EventLogger.cpp
===================================================================


storage/ndb/src/common/debugger/EventLogger.cpp:
  BUG#25064 Remove newlines from cluster log
parent 7327bccd
...@@ -498,9 +498,9 @@ void getTextTransReportCounters(QQQQ) { ...@@ -498,9 +498,9 @@ void getTextTransReportCounters(QQQQ) {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
BaseString::snprintf(m_text, m_text_len, BaseString::snprintf(m_text, m_text_len,
"Trans. Count = %u, Commit Count = %u, " "Trans. Count = %u, Commit Count = %u, "
"Read Count = %u, Simple Read Count = %u,\n" "Read Count = %u, Simple Read Count = %u, "
"Write Count = %u, AttrInfo Count = %u, " "Write Count = %u, AttrInfo Count = %u, "
"Concurrent Operations = %u, Abort Count = %u\n" "Concurrent Operations = %u, Abort Count = %u"
" Scans: %u Range scans: %u", " Scans: %u Range scans: %u",
theData[1], theData[1],
theData[2], theData[2],
...@@ -797,9 +797,9 @@ void getTextBackupFailedToStart(QQQQ) { ...@@ -797,9 +797,9 @@ void getTextBackupFailedToStart(QQQQ) {
} }
void getTextBackupCompleted(QQQQ) { void getTextBackupCompleted(QQQQ) {
BaseString::snprintf(m_text, m_text_len, BaseString::snprintf(m_text, m_text_len,
"Backup %u started from node %u completed\n" "Backup %u started from node %u completed."
" StartGCP: %u StopGCP: %u\n" " StartGCP: %u StopGCP: %u"
" #Records: %u #LogRecords: %u\n" " #Records: %u #LogRecords: %u"
" Data: %u bytes Log: %u bytes", " Data: %u bytes Log: %u bytes",
theData[2], refToNode(theData[1]), theData[2], refToNode(theData[1]),
theData[3], theData[4], theData[6], theData[8], theData[3], theData[4], theData[6], theData[8],
......
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