mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Do not check read result consistency when unwinding
This commit is contained in:
parent
1be48f706b
commit
1b31b8bb91
@ -516,11 +516,13 @@ void MergeTreeRangeReader::ReadResult::optimize(const FilterWithCachedCount & cu
|
|||||||
|
|
||||||
LOG_TEST(log, "ReadResult::optimize() before: {}", dumpInfo());
|
LOG_TEST(log, "ReadResult::optimize() before: {}", dumpInfo());
|
||||||
|
|
||||||
SCOPE_EXIT(checkInternalConsistency());
|
SCOPE_EXIT(
|
||||||
|
if (!std::uncaught_exceptions())
|
||||||
SCOPE_EXIT({
|
{
|
||||||
LOG_TEST(log, "ReadResult::optimize() after: {}", dumpInfo());
|
checkInternalConsistency();
|
||||||
});
|
LOG_TEST(log, "ReadResult::optimize() after: {}", dumpInfo());
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
if (total_zero_rows_in_tails == filter.size())
|
if (total_zero_rows_in_tails == filter.size())
|
||||||
{
|
{
|
||||||
@ -924,10 +926,11 @@ MergeTreeRangeReader::ReadResult MergeTreeRangeReader::read(size_t max_rows, Mar
|
|||||||
|
|
||||||
ReadResult read_result(log);
|
ReadResult read_result(log);
|
||||||
|
|
||||||
SCOPE_EXIT({
|
SCOPE_EXIT(
|
||||||
LOG_TEST(log, "read() returned {}, sample block {}",
|
if (!std::uncaught_exceptions())
|
||||||
read_result.dumpInfo(), this->result_sample_block.dumpNames());
|
LOG_TEST(log, "read() returned {}, sample block {}",
|
||||||
});
|
read_result.dumpInfo(), this->result_sample_block.dumpNames());
|
||||||
|
);
|
||||||
|
|
||||||
if (prev_reader)
|
if (prev_reader)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user