Skip to content

Commit 6eab52b

Browse files
committed
Tree dividing is not appropriate in Rtree.
This fix is reported by Hiroki Kataoka ([email protected]).
1 parent 1d729b3 commit 6eab52b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/rtree/rtree.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.32.2.1 1999/08/02 05:24:44 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.32.2.2 1999/11/15 09:56:21 ishii Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -843,7 +843,7 @@ picksplit(Relation r,
843843
pfree(datum_r);
844844
pfree(union_dl);
845845
datum_r = union_dr;
846-
size_r = size_alpha;
846+
size_r = size_beta;
847847
*right++ = i;
848848
v->spl_nright++;
849849
}

0 commit comments

Comments
 (0)