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

enh(query): jump out of loop once queried tables are all found.

上级 1354eac9
......@@ -680,6 +680,9 @@ static int32_t doLoadBlockIndex(STsdbReader* pReader, SDataFReader* pFileReader,
}
taosArrayPush(pIndexList, pBlockIdx);
if (taosArrayGetSize(pIndexList) == taosHashGetSize(pReader->status.pTableMap)) {
break;
}
}
int64_t et2 = taosGetTimestampUs();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册