mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Fix typo in b34e37bfefbed1bf9396dde18f308d8b96fd176c.
Spotted by Peter Geoghegan.
This commit is contained in:
parent
a9d0f1cff3
commit
9522ec3e70
@ -1851,7 +1851,7 @@ bttextfastcmp_locale(Datum x, Datum y, SortSupport ssup)
|
|||||||
if (len2 >= tss->buflen2)
|
if (len2 >= tss->buflen2)
|
||||||
{
|
{
|
||||||
pfree(tss->buf2);
|
pfree(tss->buf2);
|
||||||
tss->buflen1 = Max(len2 + 1, Min(tss->buflen2 * 2, MaxAllocSize));
|
tss->buflen2 = Max(len2 + 1, Min(tss->buflen2 * 2, MaxAllocSize));
|
||||||
tss->buf2 = MemoryContextAlloc(ssup->ssup_cxt, tss->buflen2);
|
tss->buf2 = MemoryContextAlloc(ssup->ssup_cxt, tss->buflen2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user