mirror of https://github.com/citusdata/citus.git
tuplesort PGcommit: d37aa3d35832afde94e100c4d2a9618b3eb76472
parent
93f487d6d9
commit
2ee6d4cae4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue