forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2c2c7bc
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 parent2360eea commit2c2c7bc
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
723 | 723 |
| |
724 | 724 |
| |
725 | 725 |
| |
726 |
| - | |
| 726 | + | |
727 | 727 |
| |
728 | 728 |
| |
729 | 729 |
| |
|
0 commit comments
Comments
(0)