提交 eca1a51d 编写于 作者: H Hongze Cheng

fix a bug

上级 8c93f9d7
......@@ -541,7 +541,7 @@ SDFileSet *tsdbFSIterNext(SFSIter *pIter) {
pIter->index--;
}
if (pIter->index > 0) {
if (pIter->index >= 0) {
pIter->fid = ((SDFileSet *)taosArrayGet(pfs->cstatus->df, pIter->index))->fid;
} else {
pIter->fid = TSDB_IVLD_FID;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册