提交 04238b8f 编写于 作者: D dapan1121

fix crash issue

上级 efa071c9
...@@ -53,7 +53,9 @@ int32_t schInitJob(SSchJob **pSchJob, SQueryPlan *pDag, void *pTrans, SArray *pN ...@@ -53,7 +53,9 @@ int32_t schInitJob(SSchJob **pSchJob, SQueryPlan *pDag, void *pTrans, SArray *pN
pJob->attr.syncSchedule = syncSchedule; pJob->attr.syncSchedule = syncSchedule;
pJob->pTrans = pTrans; pJob->pTrans = pTrans;
pJob->sql = sql; pJob->sql = sql;
if (pRes) {
pJob->userRes = *pRes; pJob->userRes = *pRes;
}
if (pNodeList != NULL) { if (pNodeList != NULL) {
pJob->nodeList = taosArrayDup(pNodeList); pJob->nodeList = taosArrayDup(pNodeList);
...@@ -1393,7 +1395,9 @@ int32_t schExecStaticExplainJob(void *pTrans, SArray *pNodeList, SQueryPlan *pDa ...@@ -1393,7 +1395,9 @@ int32_t schExecStaticExplainJob(void *pTrans, SArray *pNodeList, SQueryPlan *pDa
pJob->attr.explainMode = pDag->explainInfo.mode; pJob->attr.explainMode = pDag->explainInfo.mode;
pJob->queryId = pDag->queryId; pJob->queryId = pDag->queryId;
pJob->subPlans = pDag->pSubplans; pJob->subPlans = pDag->pSubplans;
if (pRes) {
pJob->userRes = *pRes; pJob->userRes = *pRes;
}
SCH_ERR_JRET(qExecStaticExplain(pDag, (SRetrieveTableRsp **)&pJob->resData)); SCH_ERR_JRET(qExecStaticExplain(pDag, (SRetrieveTableRsp **)&pJob->resData));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册