mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Remove strange logic
This commit is contained in:
parent
fb349757ba
commit
0abb2e538b
@ -856,9 +856,6 @@ private:
|
|||||||
next_update_time = TimePoint::max();
|
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);
|
Info * info = getInfo(name);
|
||||||
|
|
||||||
@ -867,7 +864,7 @@ private:
|
|||||||
if (!info || !info->loading() || (info->loading_id != loading_id))
|
if (!info || !info->loading() || (info->loading_id != loading_id))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (new_exception)
|
if (new_exception && async)
|
||||||
{
|
{
|
||||||
auto next_update_time_description = [next_update_time]
|
auto next_update_time_description = [next_update_time]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user