mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
Fix special build
This commit is contained in:
parent
f3f93dd06c
commit
c838013b69
@ -267,6 +267,7 @@ void RemoteQueryExecutor::sendQueryUnlocked(ClientInfo::QueryKind query_kind, As
|
||||
|
||||
int RemoteQueryExecutor::sendQueryAsync()
|
||||
{
|
||||
#if defined(OS_LINUX)
|
||||
std::lock_guard lock(was_cancelled_mutex);
|
||||
if (was_cancelled)
|
||||
return -1;
|
||||
@ -282,6 +283,10 @@ int RemoteQueryExecutor::sendQueryAsync()
|
||||
read_context->resume();
|
||||
|
||||
return read_context->isQuerySent() ? -1 : read_context->getFileDescriptor();
|
||||
#else
|
||||
sendQuery();
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
Block RemoteQueryExecutor::readBlock()
|
||||
|
Loading…
Reference in New Issue
Block a user