]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix bug in cube picksplit algorithm.
authorRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2010 02:27:34 +0000 (21:27 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2010 02:29:29 +0000 (21:29 -0500)
Alexander Korotkov

contrib/cube/cube.c

index fca03f02d706028f279f5c2e202c2a7f73c5485c..5ffd16b2695d7e0e1cd85cd6fa652fa12b85689f 100644 (file)
@@ -406,7 +406,7 @@ g_cube_picksplit(GistEntryVector *entryvec,
                else
                {
                        datum_r = union_dr;
-                       size_r = size_alpha;
+                       size_r = size_beta;
                        *right++ = i;
                        v->spl_nright++;
                }