mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Try fix build.
This commit is contained in:
parent
45b28a6374
commit
ec70d7961b
@ -100,12 +100,13 @@ PollingQueue::TaskData PollingQueue::wait(std::unique_lock<std::mutex> & lock)
|
|||||||
if (event.data.ptr == pipe_fd)
|
if (event.data.ptr == pipe_fd)
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
std::uintptr_t key = reinterpret_cast<uintptr_t>(event.data.ptr);
|
void * ptr = event.data.ptr;
|
||||||
|
std::uintptr_t key = reinterpret_cast<uintptr_t>(ptr);
|
||||||
auto it = tasks.find(key);
|
auto it = tasks.find(key);
|
||||||
if (it == tasks.end())
|
if (it == tasks.end())
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Task {} ({}) was not found in task queue: {}",
|
throw Exception(ErrorCodes::LOGICAL_ERROR, "Task {} ({}) was not found in task queue: {}",
|
||||||
key, event.data.ptr, dumpTasks(tasks));
|
key, ptr, dumpTasks(tasks));
|
||||||
}
|
}
|
||||||
|
|
||||||
auto res = it->second;
|
auto res = it->second;
|
||||||
|
Loading…
Reference in New Issue
Block a user