From: Robert Haas Date: Mon, 15 Nov 2010 02:27:34 +0000 (-0500) Subject: Fix bug in cube picksplit algorithm. X-Git-Tag: REL8_1_23~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e27a7319155079ec817582968cd443e3ee0c3c7;p=thirdparty%2Fpostgresql.git Fix bug in cube picksplit algorithm. Alexander Korotkov --- diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c index fca03f02d70..5ffd16b2695 100644 --- a/contrib/cube/cube.c +++ b/contrib/cube/cube.c @@ -406,7 +406,7 @@ g_cube_picksplit(GistEntryVector *entryvec, else { datum_r = union_dr; - size_r = size_alpha; + size_r = size_beta; *right++ = i; v->spl_nright++; }