git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 178ca03)
Fix contrib/seg's GiST picksplit method.
2010年12月16日 02:22:38 +0000 (21:22 -0500)
2010年12月16日 02:22:38 +0000 (21:22 -0500)
Fix the same size_alpha versus size_beta typo that was recently fixed
in contrib/cube. Noted by Alexander Korotkov.

Back-patch to all supported branches (there is a more invasive fix in
HEAD).


diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index 930a35b0093de881eec3c366f1fb4a607cbbc29e..0a6cd025293e3add74267fb62866fbdc81342d7f 100644 (file)
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -432,7 +432,7 @@ gseg_picksplit(GistEntryVector *entryvec,
else
{
datum_r = union_dr;
- size_r = size_alpha;
+ size_r = size_beta;
*right++ = i;
v->spl_nright++;
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /