Commit d5d0969
committed
Remove superfluous memset from pgstat_recv_resetslrucounter
The extra memset meant pg_stat_reset_slru() always reset all the entries
even when reset of a single entry was requested, but the timestamp was
left uninitialized.
Reported-by: Atsushi Torikoshi
Discussion: https://postgr.es/m/CACZ0uYFe16pjZxQYaTn53mspyM7dgMPYL3DJLjjPw69GMCC2Ow%40mail.gmail.com1 parent e685ca6 commit d5d0969
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6233 | 6233 | | |
6234 | 6234 | | |
6235 | 6235 | | |
6236 | | - | |
6237 | | - | |
6238 | 6236 | | |
6239 | 6237 | | |
6240 | 6238 | | |
| |||
0 commit comments