mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Fix abbreviated keys bug introduced in d87d548cd0
.
Discussion: http://postgr.es/m/CAMkU=1z17XJatF-rMCY3Cjqcxer-Kyn57x6h3OSCpJ0LpAp0ig@mail.gmail.com Reported-by: Jeff Janes
This commit is contained in:
parent
f34a893531
commit
81a6d57e33
@ -2329,6 +2329,7 @@ varstr_abbrev_convert(Datum original, SortSupport ssup)
|
||||
|
||||
bsize = pg_strxfrm_prefix(sss->buf2, sss->buf1,
|
||||
max_prefix_bytes, sss->locale);
|
||||
sss->last_len2 = bsize;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user