mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
format
This commit is contained in:
parent
cf35323fc4
commit
7b417de0c7
@ -1047,23 +1047,26 @@ private:
|
||||
Stats & statistics = statistics_by_run[run_index];
|
||||
|
||||
statistics.clear();
|
||||
try {
|
||||
execute(query, statistics, stop_conditions);
|
||||
|
||||
if (exec_type == ExecutionType::Loop)
|
||||
try
|
||||
{
|
||||
for (size_t iteration = 1; !gotSIGINT; ++iteration)
|
||||
{
|
||||
stop_conditions.reportIterations(iteration);
|
||||
if (stop_conditions.areFulfilled())
|
||||
break;
|
||||
execute(query, statistics, stop_conditions);
|
||||
|
||||
execute(query, statistics, stop_conditions);
|
||||
if (exec_type == ExecutionType::Loop)
|
||||
{
|
||||
for (size_t iteration = 1; !gotSIGINT; ++iteration)
|
||||
{
|
||||
stop_conditions.reportIterations(iteration);
|
||||
if (stop_conditions.areFulfilled())
|
||||
break;
|
||||
|
||||
execute(query, statistics, stop_conditions);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (const DB::Exception & e) {
|
||||
catch (const DB::Exception & e)
|
||||
{
|
||||
statistics.exception = e.what() + String(", ") + e.displayText();
|
||||
}
|
||||
}
|
||||
|
||||
if (!gotSIGINT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user