提交 a07fd6c1 编写于 作者: dengyihao's avatar dengyihao

[TS-405]<hoftix> arith coredump on empty table

上级 885051de
......@@ -4853,6 +4853,10 @@ static SSDataBlock* doArithmeticOperation(void* param) {
}
STableQueryInfo* pTableQueryInfo = pRuntimeEnv->pQuery->current;
if (pTableQueryInfo == NULL) {
setQueryStatus(pRuntimeEnv, QUERY_COMPLETED);
break;
}
// todo dynamic set tags
setTagValue(pOperator, pTableQueryInfo->pTable, pInfo->pCtx, pOperator->numOfOutput);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册