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

src/backend/access/rtree/rtree.c

index fc7f31606bbc4f5b256d79b01f2d6f9216187b84..d12e21c9cd1cf3bcf95a70233d4afc3d55ca6cfc 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.39 1999/11/07 23:07:58 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.40 1999/11/15 09:59:00 ishii Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -845,7 +845,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++;
                }