提交 e91fd22b 编写于 作者: Y Yuriy

fixed style check

上级 107f33e8
...@@ -10,14 +10,12 @@ namespace DB ...@@ -10,14 +10,12 @@ namespace DB
{ {
/// Handler for MySQL wire protocol connections. Allows to connect to ClickHouse using MySQL client. /// Handler for MySQL wire protocol connections. Allows to connect to ClickHouse using MySQL client.
class MySQLHandler : public Poco::Net::TCPServerConnection { class MySQLHandler : public Poco::Net::TCPServerConnection
{
public: public:
MySQLHandler(IServer &server_, const Poco::Net::StreamSocket &socket_) MySQLHandler(IServer & server_, const Poco::Net::StreamSocket & socket_)
: Poco::Net::TCPServerConnection(socket_) : Poco::Net::TCPServerConnection(socket_), server(server_), log(&Poco::Logger::get("MySQLHandler")),
, server(server_) connection_context(server.context()), connection_id(last_connection_id++)
, log(&Poco::Logger::get("MySQLHandler"))
, connection_context(server.context())
, connection_id(last_connection_id++)
{ {
} }
...@@ -30,6 +28,7 @@ public: ...@@ -30,6 +28,7 @@ public:
void comPing(); void comPing();
void comInitDB(String payload); void comInitDB(String payload);
private: private:
IServer & server; IServer & server;
Poco::Logger * log; Poco::Logger * log;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册