[td-225] add checks.
This commit is contained in:
parent
7ff6bc2eb0
commit
7e7f91b8fc
|
@ -1490,6 +1490,7 @@ static int32_t getDataBlocksInFilesImpl(STsdbQueryHandle* pQueryHandle, bool* ex
|
|||
return code;
|
||||
}
|
||||
|
||||
assert(pQueryHandle->pFileGroup != NULL);
|
||||
cur->slot = ASCENDING_TRAVERSE(pQueryHandle->order)? 0:pQueryHandle->numOfBlocks-1;
|
||||
cur->fid = pQueryHandle->pFileGroup->fileId;
|
||||
|
||||
|
|
Loading…
Reference in New Issue