nbtree: Correct inaccurate split location comment.

Minor oversight in commit fab2502433.
This commit is contained in:
Peter Geoghegan 2020-06-29 12:30:39 -07:00
parent 16e3ad5d14
commit f7a476f0d6
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ _bt_findsplitloc(Relation rel,
Assert(!BTreeTupleIsPosting(newitem)); Assert(!BTreeTupleIsPosting(newitem));
/* /*
* maxsplits should never exceed maxoff because there will be at most as * nsplits should never exceed maxoff because there will be at most as
* many candidate split points as there are points _between_ tuples, once * many candidate split points as there are points _between_ tuples, once
* you imagine that the new item is already on the original page (the * you imagine that the new item is already on the original page (the
* final number of splits may be slightly lower because not all points * final number of splits may be slightly lower because not all points