dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-06-24 23:35:13 +00:00
parent 4b6282d5d9
commit 9dea897645
2 changed files with 3 additions and 4 deletions

View File

@ -60,6 +60,8 @@ Poco::Net::TCPServerConnection * TCPConnectionFactory::createConnection(const Po
int Server::main(const std::vector<std::string> & args)
{
Logger * log = &logger();
/// Заранее инициализируем DateLUT, чтобы первая инициализация потом не влияла на измеряемую скорость выполнения.
LOG_DEBUG(log, "Initializing DateLUT.");
Yandex::DateLUTSingleton::instance();

View File

@ -63,9 +63,6 @@ public:
class Server : public Daemon
{
private:
Logger * log;
public:
Poco::Util::LayeredConfiguration & config;
@ -73,7 +70,7 @@ public:
Context global_context;
Server() : log(&Logger::get("Server")), config(Application::instance().config()) {}
Server() : config(Application::instance().config()) {}
protected:
void initialize(Application& self)