Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfdbac2

Browse files
Correct nbtsplitloc.c comment.
The logic just added by commite3899ff falls back on a 50:50 page splitin the event of a new item that's just to the right of our provisional"many duplicates" split point. Fix a comment that incorrectly claimedthat the new item had to be just to the left of our provisional splitpoint.Backpatch: 12-, just like commite3899ff.
1 parente3899ff commitbfdbac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtsplitloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ _bt_bestsplitloc(FindSplitData *state, int perfectpenalty,
815815
{
816816
/*
817817
* Avoid the problem by peforming a 50:50 split when the new item is
818-
* just to theleft of the would-be "many duplicates" split point.
818+
* just to theright of the would-be "many duplicates" split point.
819819
*/
820820
final=&state->splits[0];
821821
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp