1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-05 01:43:31 +03:00

removed printout "- Repeated 1 times"

make sure transporter connections are close early in shutdown
This commit is contained in:
tomas@poseidon.ndb.mysql.com
2005-02-23 10:12:26 +01:00
parent a50be4d42b
commit ce6ffc3dcc
4 changed files with 23 additions and 13 deletions

View File

@@ -76,15 +76,15 @@ LogHandler::append_impl(const char* pCategory, Logger::LoggerLevel level,
const char* pMsg)
{
writeHeader(pCategory, level);
if (m_count_repeated_messages == 0)
if (m_count_repeated_messages <= 1)
writeMessage(pMsg);
else
{
BaseString str(pMsg);
str.appfmt(" - Repeated %d times", m_count_repeated_messages);
writeMessage(str.c_str());
m_count_repeated_messages= 0;
}
m_count_repeated_messages= 0;
writeFooter();
}