mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-161: Miscellaneous small issues.
This commit is contained in:
@@ -992,6 +992,8 @@ static void pgss_store(uint64 queryId,
|
||||
e->counters.info.host = pg_get_client_addr();
|
||||
e->counters.sysinfo.utime = utime;
|
||||
e->counters.sysinfo.stime = stime;
|
||||
if (sqlcode != 0)
|
||||
memset(&entry->counters.blocks, 0, sizeof(entry->counters.blocks));
|
||||
SpinLockRelease(&e->mutex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user