未验证 提交 9e7f6703 编写于 作者: H haojun Liao 提交者: GitHub

fix bugs avoiding two super table join crash

fix bugs avoiding two super table join crashed.
上级 82317294
...@@ -329,7 +329,7 @@ int32_t mgmtDoJoin(SMetricMetaMsg* pMetricMetaMsg, tQueryResultset* pRes) { ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册