add more security check for async union processing.

This commit is contained in:
hjxilinx 2020-01-09 10:20:25 +08:00
parent c0c5754b7a
commit 475c03a3c2
1 changed files with 1 additions and 1 deletions

View File

@ -2005,7 +2005,7 @@ bool hasMoreVnodesToTry(SSqlObj* pSql) {
SQueryInfo* pQueryInfo = tscGetQueryInfoDetail(pCmd, pCmd->clauseIndex);
SMeterMetaInfo* pMeterMetaInfo = tscGetMeterMetaInfoFromQueryInfo(pQueryInfo, 0);
if (!UTIL_METER_IS_SUPERTABLE(pMeterMetaInfo)) {
if (!UTIL_METER_IS_SUPERTABLE(pMeterMetaInfo) || (pMeterMetaInfo->pMetricMeta == NULL)) {
return false;
}