forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0823705
committed
Fix overridden callbacks in pg_rewind.
The <source>_traverse_files functions take a callback for processingfiles, but both the local and libpq source implementations called thefunction directly without using the callback argument. While there isno bug right now as the function called is the same as the callback,fix by calling the callback to reduce the risk of subtle bugs in thefuture.Author: Junwang Zhao <zhjwpku@gmail.com>Reviewed-by: Richard Guo <guofenglinux@gmail.com>Discussion:https://postgr.es/m/CAEG8a3Jdwgh+PZr2zh1=t8apA4Yz8tKq+uubPqoCt14nvWKHEw@mail.gmail.com1 parente0bb5d0 commit0823705
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
307 |
| - | |
| 307 | + | |
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
0 commit comments
Comments
(0)