提交 884f9dfe 编写于 作者: H Haojun Liao

fix(query): set start row index for desc scan.

上级 c2f6d4ab
......@@ -501,7 +501,10 @@ bool tLDataIterNextRow(SLDataIter *pIter, const char *idStr) {
if (iBlockL != pIter->iSttBlk) {
pBlockData = loadLastBlock(pIter, idStr);
pIter->iRow += step;
if (pBlockData == NULL) {
goto _exit;
}
pIter->iRow = pIter->backward? pBlockData->nRow-1:0;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册