postgres.git / summary / log / commit / refs
commit e6b3802518ef46d12c45a9a43594bdb0ae650afc
Author: Robert Haas <rhaas@postgresql.org>
Date: Mon Nov 15 02:27:34 2010 +0000
First released in: 9.1.0, 8.1.23, 8.2.19, 8.3.13, 8.4.6, 9.0.2
Fix bug in cube picksplit algorithm.
Alexander Korotkov
contrib/cube/cube.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c
index 62cd3a2d02a..b8f06238309 100644
--- a/contrib/cube/cube.c
+++ b/contrib/cube/cube.c
@@ -615,7 +615,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++;
}
[parent: c350b01e2f72]