forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite37662f
committed
Minor improvements for waitlsn.c
* Remove extra includes * Fill 'cur' in addLSNWaiter() before taking the spinlock * Initialize 'endtime' with zero in WaitForLSN() to avoid compiler warningReported-by: Alvaro Herrera, Masahiko Sawada, Daniel GustafssonDiscussion:https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsqlDiscussion:https://postgr.es/m/CAD21AoAx7irptnPH1OkkkNh9E0M6X-phfX7sYZfwoMsc1qV1sQ%40mail.gmail.com1 parent9301308 commite37662f
1 file changed
+4
-14
lines changedLines changed: 4 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 | 21 |
| |
25 |
| - | |
26 | 22 |
| |
27 |
| - | |
28 | 23 |
| |
29 |
| - | |
30 | 24 |
| |
31 | 25 |
| |
32 |
| - | |
33 | 26 |
| |
34 |
| - | |
35 | 27 |
| |
36 | 28 |
| |
37 |
| - | |
38 |
| - | |
39 | 29 |
| |
40 | 30 |
| |
41 |
| - | |
42 | 31 |
| |
| 32 | + | |
43 | 33 |
| |
44 | 34 |
| |
45 | 35 |
| |
| |||
88 | 78 |
| |
89 | 79 |
| |
90 | 80 |
| |
91 |
| - | |
92 |
| - | |
93 | 81 |
| |
94 | 82 |
| |
95 | 83 |
| |
| 84 | + | |
| 85 | + | |
96 | 86 |
| |
97 | 87 |
| |
98 | 88 |
| |
| |||
226 | 216 |
| |
227 | 217 |
| |
228 | 218 |
| |
229 |
| - | |
| 219 | + | |
230 | 220 |
| |
231 | 221 |
| |
232 | 222 |
| |
|
0 commit comments
Comments
(0)