tuplesort PGcommit: d37aa3d35832afde94e100c4d2a9618b3eb76472

pg16_kickoff
onderkalaci 2023-04-26 19:33:24 +03:00
parent 93f487d6d9
commit 2ee6d4cae4
1 changed files with 2 additions and 1 deletions

View File

@ -1843,7 +1843,8 @@ TupleSortSkipSmallerItemPointers(Tuplesortstate *tupleSort, ItemPointer targetIt
Datum *abbrev = NULL; Datum *abbrev = NULL;
Datum tsDatum; Datum tsDatum;
bool tsDatumIsNull; bool tsDatumIsNull;
if (!tuplesort_getdatum(tupleSort, forwardDirection, &tsDatum, bool copy = true; /* todo: could pass false? */
if (!tuplesort_getdatum(tupleSort, forwardDirection, copy, &tsDatum,
&tsDatumIsNull, abbrev)) &tsDatumIsNull, abbrev))
{ {
ItemPointerSetInvalid(&tsItemPointerData); ItemPointerSetInvalid(&tsItemPointerData);