Commit a396e20
committed
Rename variable for code clarity
When tracking IO timing for WAL, the duration is what we calculate
based on the start and end timestamps, it's not what the variable
contains. Rename the timestamp variable to end to better communicate
what it contains. Original patch by Krishnakumar with additional
hacking to fix another occurrence by me.
Author: Krishnakumar R <kksrcv001@gmail.com>
Discussion: https://postgr.es/m/CAPMWgZ9f9o8awrQpjo8oxnNQ=bMDVPx00NE0QcDzvHD_ZrdLPw@mail.gmail.com1 parent 18724af commit a396e20
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2226 | 2226 | | |
2227 | 2227 | | |
2228 | 2228 | | |
2229 | | - | |
| 2229 | + | |
2230 | 2230 | | |
2231 | | - | |
2232 | | - | |
| 2231 | + | |
| 2232 | + | |
2233 | 2233 | | |
2234 | 2234 | | |
2235 | 2235 | | |
| |||
8252 | 8252 | | |
8253 | 8253 | | |
8254 | 8254 | | |
8255 | | - | |
| 8255 | + | |
8256 | 8256 | | |
8257 | | - | |
8258 | | - | |
| 8257 | + | |
| 8258 | + | |
8259 | 8259 | | |
8260 | 8260 | | |
8261 | 8261 | | |
| |||
0 commit comments