mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Fixing build.
This commit is contained in:
parent
32b38f389e
commit
0e44a22f43
@ -14,4 +14,5 @@ target_link_libraries(clickhouse_common_config
|
||||
Poco::XML
|
||||
PRIVATE
|
||||
string_utils
|
||||
_boost_context
|
||||
)
|
||||
|
@ -40,7 +40,7 @@ bool ReadBufferFromPocoSocket::nextImpl()
|
||||
/// If fiber is specified, and read is blocking, run fiber and try again later.
|
||||
/// It is expected that file descriptor may be polled externally.
|
||||
/// Note that receive timeout is not checked here. External code should check it while polling.
|
||||
while (bytes_read < 0 && fiber && (errno == POCO_EAGAIN || errno == POCO_EWOULDBLOCK))
|
||||
while (bytes_read < 0 && fiber && (errno == EAGAIN || errno == EWOULDBLOCK))
|
||||
{
|
||||
//fiber->fd = socket.impl()->sockfd();
|
||||
//fiber->timeout = socket.impl()->getReceiveTimeout();
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <iostream>
|
||||
/// #define BOOST_USE_UCONTEXT
|
||||
#include <boost/context/fiber.hpp>
|
||||
#include <boost/context/pooled_fixedsize_stack.hpp>
|
||||
#include <boost/context/segmented_stack.hpp>
|
||||
// #include <boost/context/pooled_fixedsize_stack.hpp>
|
||||
// #include <boost/context/segmented_stack.hpp>
|
||||
#include <Common/Exception.h>
|
||||
#include <Common/FiberStack.h>
|
||||
|
||||
|
@ -50,7 +50,7 @@ private:
|
||||
|
||||
bool is_async_state = false;
|
||||
std::unique_ptr<RemoteQueryExecutorReadContext> read_context;
|
||||
int fd;
|
||||
int fd = -1;
|
||||
};
|
||||
|
||||
/// Totals source from RemoteQueryExecutor.
|
||||
|
Loading…
Reference in New Issue
Block a user