Commit 9b8dd7e
committed
Fix erroneous choices of segNo variables
Commit dfda6eb (which changed segment numbers to use a single 64 bit
variable instead of log/seg) introduced a couple of bogus choices of
exactly which log segment number variable to use in each case.
This is currently pretty harmless; in one place, the bogus number was
only being used in an error message for a pretty unlikely condition
(failure to fsync a WAL segment file). In the other, it was using a
global variable instead of the local variable; but all callsites were
passing the value of the global variable anyway.
No need to backpatch because that commit is not on earlier branches.1 parent 04f28bd commit 9b8dd7e
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8175 | 8175 | | |
8176 | 8176 | | |
8177 | 8177 | | |
8178 | | - | |
| 8178 | + | |
8179 | 8179 | | |
8180 | 8180 | | |
8181 | 8181 | | |
| |||
8199 | 8199 | | |
8200 | 8200 | | |
8201 | 8201 | | |
8202 | | - | |
| 8202 | + | |
8203 | 8203 | | |
8204 | 8204 | | |
8205 | 8205 | | |
8206 | 8206 | | |
8207 | 8207 | | |
8208 | 8208 | | |
8209 | 8209 | | |
8210 | | - | |
| 8210 | + | |
8211 | 8211 | | |
8212 | 8212 | | |
8213 | 8213 | | |
| |||
8216 | 8216 | | |
8217 | 8217 | | |
8218 | 8218 | | |
8219 | | - | |
| 8219 | + | |
8220 | 8220 | | |
8221 | 8221 | | |
8222 | 8222 | | |
| |||
0 commit comments