mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fixup
This commit is contained in:
parent
56869228a2
commit
c33b472f9a
@ -363,7 +363,6 @@ private:
|
||||
try
|
||||
{
|
||||
execute(connection_entries, query, distribution(generator));
|
||||
++queries_executed;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
@ -374,8 +373,15 @@ private:
|
||||
shutdown = true;
|
||||
throw;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << getCurrentExceptionMessage(print_stacktrace, true) ;
|
||||
}
|
||||
}
|
||||
// Count failed queries toward executed, so that we'd reach
|
||||
// max_iterations even if every run fails.
|
||||
++queries_executed;
|
||||
}
|
||||
}
|
||||
|
||||
void execute(EntryPtrs & connection_entries, Query & query, size_t connection_index)
|
||||
|
Loading…
Reference in New Issue
Block a user