未验证 提交 bacca291 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #8746 from taosdata/fix/TS-676-master

[TS-676]<fix>: fixed coredump when 'group by' was used
......@@ -5780,6 +5780,11 @@ static SSDataBlock* doProjectOperation(void* param, bool* newgroup) {
}
}
if (pOperator->status == OP_EXEC_DONE) {
*newgroup = false;
return NULL;
}
while(1) {
bool prevVal = *newgroup;
......@@ -5792,7 +5797,7 @@ static SSDataBlock* doProjectOperation(void* param, bool* newgroup) {
//assert(*newgroup == false);
*newgroup = prevVal;
setQueryStatus(pRuntimeEnv, QUERY_COMPLETED);
doSetOperatorCompleted(pOperator);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册