[#1029 TBASE-1431]
This commit is contained in:
parent
65e556e7c3
commit
b0c839de54
|
@ -3379,6 +3379,8 @@ void forwardQueryStartPosition(SQueryRuntimeEnv *pRuntimeEnv) {
|
|||
updateOffsetVal(pRuntimeEnv, &blockInfo, pBlock);
|
||||
} else {
|
||||
pQuery->limit.offset -= maxReads;
|
||||
// update the lastkey, since the following skip operation may traverse to another media. update the lastkey first.
|
||||
pQuery->lastKey = (QUERY_IS_ASC_QUERY(pQuery))? blockInfo.keyLast+1:blockInfo.keyFirst-1;
|
||||
doSkipDataBlock(pRuntimeEnv);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue