Commit 55e5352
committed
Get heap page max offset with buffer lock held.
On further reflection it seems better to call PageGetMaxOffsetNumber()
after acquiring a buffer lock on the page. This shouldn't really
matter, but doing it this way is cleaner.
Follow-up to commit 42288174.
Backpatch: 12-, just like commit 422881741 parent 7a57960 commit 55e5352
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7042 | 7042 | | |
7043 | 7043 | | |
7044 | 7044 | | |
| 7045 | + | |
| 7046 | + | |
7045 | 7047 | | |
7046 | 7048 | | |
7047 | | - | |
7048 | | - | |
7049 | 7049 | | |
7050 | 7050 | | |
7051 | 7051 | | |
| |||
0 commit comments