Skip to content

Commit

Permalink
Merge pull request #19260 from jakesmith/candidate-9.8.x
Browse files Browse the repository at this point in the history
HPCC-32929 Fix global merge regression (crash)

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
  • Loading branch information
ghalliday authored Nov 1, 2024
2 parents bf157ea + 9acb750 commit 2ca6a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thorlcr/msort/tsorta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ void CThorKeyArray::calcPositions(IFile *file, CThorKeyArray &sample, unsigned r
if (pos==(offset_t)-1)
pos = 0;
// should do bin-chop for fixed length but initially do sequential search
Owned<IRowStream> s = createRowStreamEx(file, rowif, pos, 0, (offset_t)-1, rwFlags);
Owned<IRowStream> s = createRowStreamEx(file, rowif, pos, (offset_t)-1, (unsigned __int64)-1, rwFlags);
for (;;)
{
OwnedConstThorRow rowcmp = s->nextRow();
Expand Down

0 comments on commit 2ca6a2b

Please sign in to comment.