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:29:10 -0500 |
commit | e642ca767c72f1c71aabb1ca08c838df3a6cff51 (patch) | |
tree | 87662ed438f5f980e57babf007723e352e0a1733 | |
parent | ef35f36b794923cbe7d2afa0d21e3fade994bfcd (diff) | |
download | postgresql-e642ca767c72f1c71aabb1ca08c838df3a6cff51.tar.gz postgresql-e642ca767c72f1c71aabb1ca08c838df3a6cff51.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 2419afe0f6f..cee2ba65b6a 100644 --- a/contrib/cube/cube.c +++ b/contrib/cube/cube.c @@ -651,7 +651,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++; } |