]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Tree dividing is not appropriate in Rtree.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 15 Nov 1999 09:56:21 +0000 (09:56 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 15 Nov 1999 09:56:21 +0000 (09:56 +0000)
This fix is reported by Hiroki Kataoka (kataoka@interwiz.koganei.tokyo.jp).

src/backend/access/rtree/rtree.c

index 811991b2f1c84bcbd5fa9acf872e96d281929d9d..cbf14cf49e7022e1b1b78c307ee30ecf57e78bdd 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.32.2.1 1999/08/02 05:24:44 scrappy Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.32.2.2 1999/11/15 09:56:21 ishii Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -843,7 +843,7 @@ picksplit(Relation r,
                        pfree(datum_r);
                        pfree(union_dl);
                        datum_r = union_dr;
-                       size_r = size_alpha;
+                       size_r = size_beta;
                        *right++ = i;
                        v->spl_nright++;
                }