fix(query): fix bug in iterating the table list.

This commit is contained in:
Haojun Liao 2023-05-26 10:05:54 +08:00
parent 70c18d44a2
commit 409656f7b6
1 changed files with 2 additions and 0 deletions

View File

@ -3433,6 +3433,8 @@ static int32_t buildBlockFromBufferSequentially(STsdbReader* pReader) {
if (!hasNexTable) {
return TSDB_CODE_SUCCESS;
}
pBlockScanInfo = pStatus->pTableIter;
}
initMemDataIterator(*pBlockScanInfo, pReader);