Fixing issue with histogram
parent
a856a60cbd
commit
224a12e1ec
|
@ -1447,11 +1447,11 @@ pgsm_update_entry(pgssEntry *entry,
|
||||||
|
|
||||||
if (e->counters.time.max_time < exec_total_time)
|
if (e->counters.time.max_time < exec_total_time)
|
||||||
e->counters.time.max_time = exec_total_time;
|
e->counters.time.max_time = exec_total_time;
|
||||||
|
}
|
||||||
|
|
||||||
index = get_histogram_bucket(exec_total_time);
|
index = get_histogram_bucket(exec_total_time);
|
||||||
e->counters.resp_calls[index]++;
|
e->counters.resp_calls[index]++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (plan_text_len > 0 && !e->counters.planinfo.plan_text[0])
|
if (plan_text_len > 0 && !e->counters.planinfo.plan_text[0])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue