| 190 | } |
| 191 | |
| 192 | void CMysqlConnection::Print(IConsole *pConsole, const char *pMode) |
| 193 | { |
| 194 | char aBuf[512]; |
| 195 | str_format(aBuf, sizeof(aBuf), |
| 196 | "MySQL-%s: DB: '%s' Prefix: '%s' User: '%s' IP: <{'%s'}> Port: %d", |
| 197 | pMode, m_Config.m_aDatabase, GetPrefix(), m_Config.m_aUser, m_Config.m_aIp, m_Config.m_Port); |
| 198 | pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "server", aBuf); |
| 199 | } |
| 200 | |
| 201 | void CMysqlConnection::ToUnixTimestamp(const char *pTimestamp, char *aBuf, unsigned int BufferSize) |
| 202 | { |
no test coverage detected