Don't log IDO statistics when we're not connected

refs #10860
This commit is contained in:
Gunnar Beutner 2015-12-17 12:05:35 +01:00
parent 30c445a5ee
commit 30b13ba2d6
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ void DbConnection::Start(bool runtimeCreated)
void DbConnection::StatsLoggerTimerHandler(void)
{
if (!GetConnected())
return;
int pending = GetPendingQueryCount();
double now = Utility::GetTime();