]> 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:28:52 +0000 (21:28 -0500)
Alexander Korotkov

contrib/cube/cube.c

index f91e3b4bab77ea1682343b1a29aa414d9c76d829..d97bcea7015d62480dee5238dfd15130cf8cf55d 100644 (file)
@@ -609,7 +609,7 @@ g_cube_picksplit(PG_FUNCTION_ARGS)
                else
                {
                        datum_r = union_dr;
-                       size_r = size_alpha;
+                       size_r = size_beta;
                        *right++ = i;
                        v->spl_nright++;
                }