未验证 提交 ad339750 编写于 作者: dengyihao's avatar dengyihao 提交者: GitHub

Merge pull request #8687 from taosdata/hotfix/TS-405

[TS-405]<hoftix> arith coredump on empty table
......@@ -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.
先完成此消息的编辑!
想要评论请 注册