mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Replace throw in debug mode in destructor
FileSegmentsHolder: - Replaced throw in destructor with assert for all #ifdef modes.
This commit is contained in:
parent
b56beeca9d
commit
cb698c4cc1
@ -532,11 +532,8 @@ FileSegmentsHolder::~FileSegmentsHolder()
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
tryLogCurrentException(__PRETTY_FUNCTION__);
|
||||
#else
|
||||
throw;
|
||||
#endif
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user