forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb48437d
committed
Fix off-by-one error in Assertion.
The point of the assertion is to ensure that the arrays allocated in stackare large enough, but the check was one item short.This won't matter in practice because MaxIndexTuplesPerPage is anoverestimate, so you can't have that many items on a page in reality.But let's be tidy.Spotted by Anastasia Lubennikova. Backpatch to all supported versions, likethe patch that added the assertion.1 parent0b28ea7 commitb48437d
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
806 | 806 |
| |
807 | 807 |
| |
808 | 808 |
| |
809 |
| - | |
| 809 | + | |
810 | 810 |
| |
811 | 811 |
| |
812 | 812 |
| |
|
0 commit comments
Comments
(0)