未验证 提交 6ea3ff8d 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1036 from taosdata/hjxilinx-patch-1

Update vnodeQueryImpl.c
......@@ -1152,7 +1152,7 @@ static bool getQualifiedDataBlock(SMeterObj *pMeterObj, SQueryRuntimeEnv *pRunti
// load first data block into memory failed, caused by disk block error
bool blockLoaded = false;
while (blkIdx < pQuery->numOfBlocks) {
while (blkIdx < pQuery->numOfBlocks && blkIdx >= 0) {
pQuery->slot = blkIdx;
if (loadDataBlockIntoMem(&pQuery->pBlock[pQuery->slot], &pQuery->pFields[pQuery->slot], pRuntimeEnv, fid, true,
true) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册