mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
dbms: fixed error with async. stream [#CONV-2944].
This commit is contained in:
parent
db11d5dbb9
commit
2a95c2b504
@ -89,6 +89,7 @@ protected:
|
||||
|
||||
void next()
|
||||
{
|
||||
ready.reset();
|
||||
pool.schedule(boost::bind(&AsynchronousBlockInputStream::calculate, this));
|
||||
}
|
||||
|
||||
@ -96,8 +97,6 @@ protected:
|
||||
/// Вычисления, которые могут выполняться в отдельном потоке
|
||||
void calculate()
|
||||
{
|
||||
ready.reset();
|
||||
|
||||
try
|
||||
{
|
||||
block = in->read();
|
||||
|
Loading…
Reference in New Issue
Block a user