From 0e099d82075dffbc3fad0e889bff1a6af85052b0 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 27 Jul 2012 11:17:34 +0000 Subject: [PATCH] Connection: fixed error [#CONV-5331]. --- dbms/src/Client/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Client/Connection.cpp b/dbms/src/Client/Connection.cpp index 6f75580f81c..b48fb90eee9 100644 --- a/dbms/src/Client/Connection.cpp +++ b/dbms/src/Client/Connection.cpp @@ -20,9 +20,9 @@ namespace DB void Connection::connect() { + socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout); socket.setReceiveTimeout(receive_timeout); socket.setSendTimeout(send_timeout); - socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout); connected = true;