mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
4b6282d5d9
commit
9dea897645
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user