forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit25c7faa
committed
Fix datatype confusion in logtape.c's right_offset().
This could only matter if (a) long is wider than int, and (b) the heapof free blocks exceeds UINT_MAX entries, which seems pretty unlikely.Still, it's a theoretical bug, so backpatch to v13 where the typo camein (in commitc02fdc9).In passing, also make swap_nodes() use consistent datatypes.Ma LiangzhuDiscussion:https://postgr.es/m/17336-fc4e522d26a750fd@postgresql.org1 parent4be3e00 commit25c7faa
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
348 |
| - | |
| 348 | + | |
349 | 349 |
| |
350 | 350 |
| |
351 | 351 |
| |
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
362 |
| - | |
| 362 | + | |
363 | 363 |
| |
364 | 364 |
| |
365 | 365 |
| |
|
0 commit comments
Comments
(0)