postgres.git / summary / log / commit / refs
commit d589e40705df7e2ffa36d4159522062571339022
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 f91e3b4bab7..d97bcea7015 100644
--- a/contrib/cube/cube.c
+++ b/contrib/cube/cube.c
@@ -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++;
}
[parent: 032191b4aa44]