[td-6216] add the removed code segment back.

This commit is contained in:
Haojun Liao 2021-08-19 11:25:33 +08:00
parent 5585b4be87
commit ac3208736b
1 changed files with 4 additions and 0 deletions

View File

@ -7080,6 +7080,10 @@ static SSDataBlock* doTagScan(void* param, bool* newgroup) {
qDebug("QInfo:0x%"PRIx64" create tag values results completed, rows:%d", GET_QID(pRuntimeEnv), count);
}
if (pOperator->status == OP_EXEC_DONE) {
setQueryStatus(pOperator->pRuntimeEnv, QUERY_COMPLETED);
}
pRes->info.rows = count;
return (pRes->info.rows == 0)? NULL:pInfo->pRes;
}