提交 f83b863c 编写于 作者: H Haojun Liao

fix(query): update the lastkey for each table during table scanning.

上级 b78249c5
......@@ -2640,6 +2640,11 @@ static int32_t doBuildDataBlock(STsdbReader* pReader) {
}
}
if (code == TSDB_CODE_SUCCESS) {
STimeWindow* pWin = &pReader->pResBlock->info.window;
pScanInfo->lastKey = ASCENDING_TRAVERSE(pReader->order)? pWin->ekey:pWin->skey;
}
return code;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册