[9517] rewrote RA console using ACE

- moved SQL pinging to SqlDelayThread
- use sAccountMgr instead of explict sql queries
This commit is contained in:
arrai 2010-03-01 23:27:05 +01:00
parent bc5092686e
commit 39559fc73a
8 changed files with 307 additions and 179 deletions

View file

@ -40,6 +40,7 @@ bool Database::Initialize(const char *)
m_logsDir.append("/");
}
m_pingIntervallms = sConfig.GetIntDefault ("MaxPingTime", 30) * (MINUTE * 1000);
return true;
}
@ -228,4 +229,4 @@ bool Database::CheckRequiredField( char const* table_name, char const* required_
sLog.outErrorDb("Table `%s` fields list query fail but expected have `%s`! No records in `%s`?",table_name,required_name,table_name);
return false;
}
}