fix timeout in 01098_temporary_and_external_tables

This commit is contained in:
tavplubix 2020-03-31 20:25:13 +03:00 committed by GitHub
parent a7f8b8acde
commit c424db85b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ namespace
if (overrun_count)
{
/// But pass with some frequency to avoid drop of all traces.
if (write_trace_iteration % overrun_count == 0)
if (write_trace_iteration % (overrun_count + 1) == 0)
{
ProfileEvents::increment(ProfileEvents::QueryProfilerSignalOverruns, overrun_count);
}