mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
fix tidy
This commit is contained in:
parent
319542f85b
commit
2db07e64e3
@ -35,7 +35,10 @@ IProcessor::Status PlanSquashingTransform::prepare()
|
||||
break; /// never reached
|
||||
}
|
||||
}
|
||||
status = finish();
|
||||
if (status == Status::Ready)
|
||||
status = finish();
|
||||
else
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "There should be a Ready status to finish the PlanSquashing");
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user