Merge pull request #1108 from taosdata/beta/v1.6.5.3

Beta/v1.6.5.3
This commit is contained in:
slguan 2020-01-09 14:43:47 +08:00 committed by GitHub
commit 2b6fd9dda9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ int32_t mgmtDoJoin(SMetricMetaMsg* pMetricMetaMsg, tQueryResultset* pRes) {
bool allEmpty = false; bool allEmpty = false;
for (int32_t i = 0; i < pMetricMetaMsg->numOfMeters; ++i) { for (int32_t i = 0; i < pMetricMetaMsg->numOfMeters; ++i) {
if (pRes->num == 0) { // all results are empty if one of them is empty if (pRes[i].num == 0) { // all results are empty if one of them is empty
allEmpty = true; allEmpty = true;
break; break;
} }