diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:27:34 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:27:34 -0500 |
commit | 4fa0a23c70cc346011a3dd8ea902f8d1668644b0 (patch) | |
tree | a9a0ed037baa156566f0029afe995231e093bd0e | |
parent | 5aa446c961a6fdf15ff9c398751efd6ecff0c64a (diff) | |
download | postgresql-4fa0a23c70cc346011a3dd8ea902f8d1668644b0.tar.gz postgresql-4fa0a23c70cc346011a3dd8ea902f8d1668644b0.zip |
Fix bug in cube picksplit algorithm.
Alexander Korotkov
-rw-r--r-- | contrib/cube/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c index 832c099f042..16331524321 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++; } |