提交 57039aa6 编写于 作者: H Haojun Liao

[TD-2298]

上级 d9e49772
......@@ -3631,6 +3631,9 @@ void scanOneTableDataBlocks(SQueryRuntimeEnv *pRuntimeEnv, TSKEY start) {
// do nothing if no data blocks are found qualified during scan
if (qstatus.lastKey != pTableQueryInfo->lastKey) {
qstatus.curWindow.ekey = pTableQueryInfo->lastKey - step;
} else { // the lastkey does not increase, which means no data checked yet, and all result rows has been closed.
qDebug("QInfo:%p no results generated in this scan, abort", pQInfo);
return;
}
qstatus.lastKey = pTableQueryInfo->lastKey;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册