mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 02:30:51 +00:00
Fix tests.
This commit is contained in:
parent
0ec321a811
commit
075ccceee9
@ -306,7 +306,7 @@ Block InterpreterKillQueryQuery::getSelectResult(const String & columns, const S
|
||||
auto stream = block_io.getInputStream();
|
||||
Block res = stream->read();
|
||||
|
||||
if (res && block_io.in->read())
|
||||
if (res && stream->read())
|
||||
throw Exception("Expected one block from input stream", ErrorCodes::LOGICAL_ERROR);
|
||||
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user