fix(query): add check.

This commit is contained in:
Haojun Liao 2023-04-30 01:58:08 +08:00
parent a88a4f5db0
commit f645454f6c
1 changed files with 1 additions and 1 deletions

View File

@ -3567,7 +3567,7 @@ static int32_t buildBlockFromFiles(STsdbReader* pReader) {
code = doBuildDataBlock(pReader); code = doBuildDataBlock(pReader);
} }
if (code != TSDB_CODE_SUCCESS) { if (code != TSDB_CODE_SUCCESS || pReader->flag == READER_STATUS_SHOULD_STOP) {
return code; return code;
} }