mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Remove strange logic
This commit is contained in:
parent
fb349757ba
commit
0abb2e538b
@ -856,9 +856,6 @@ private:
|
||||
next_update_time = TimePoint::max();
|
||||
}
|
||||
|
||||
/// In synchronus mode we throw exception immediately
|
||||
if (!async && new_exception)
|
||||
std::rethrow_exception(new_exception);
|
||||
|
||||
Info * info = getInfo(name);
|
||||
|
||||
@ -867,7 +864,7 @@ private:
|
||||
if (!info || !info->loading() || (info->loading_id != loading_id))
|
||||
return;
|
||||
|
||||
if (new_exception)
|
||||
if (new_exception && async)
|
||||
{
|
||||
auto next_update_time_description = [next_update_time]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user