enh(query): jump out of loop once queried tables are all found.
This commit is contained in:
parent
1354eac985
commit
b2a70c0a34
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue