mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
Try fix tests.
This commit is contained in:
parent
d1d54ab1df
commit
96895e063f
@ -46,7 +46,7 @@ void IMergingTransform::setHaveAllInputs()
|
||||
|
||||
void IMergingTransform::requestDataForInput(size_t input_number)
|
||||
{
|
||||
if (!need_data)
|
||||
if (need_data)
|
||||
throw Exception("Data was requested for several inputs in IMergingTransform:"
|
||||
" " + std::to_string(next_input_to_read) + " and " + std::to_string(input_number),
|
||||
ErrorCodes::LOGICAL_ERROR);
|
||||
|
@ -184,7 +184,7 @@ void MergingSortedTransform::merge(TSortingHeap & queue)
|
||||
void MergingSortedTransform::insertFromChunk(size_t source_num)
|
||||
{
|
||||
if (source_num >= cursors.size())
|
||||
throw Exception("Logical error in MergingSortedTrandform", ErrorCodes::LOGICAL_ERROR);
|
||||
throw Exception("Logical error in MergingSortedTransform", ErrorCodes::LOGICAL_ERROR);
|
||||
|
||||
//std::cerr << "copied columns\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user