add more security check for async union processing.
This commit is contained in:
parent
c0c5754b7a
commit
475c03a3c2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue