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