提交 4c9c6d68 编写于 作者: S slzhou

fix: fix error during merge

上级 ff1e30f2
...@@ -6332,19 +6332,17 @@ SOperatorInfo* createOrderOperatorInfo(SQueryRuntimeEnv* pRuntimeEnv, SOperatorI ...@@ -6332,19 +6332,17 @@ SOperatorInfo* createOrderOperatorInfo(SQueryRuntimeEnv* pRuntimeEnv, SOperatorI
goto _clean; goto _clean;
} }
bool found = false;
bool found = false; for (int32_t i = 0; i < numOfOutput; ++i) {
for (int32_t i = 0; i < numOfOutput; ++i) { SColumnInfoData col = {{0}};
SColumnInfoData col = {{0}}; col.info.colId = pExpr[i].base.colInfo.colId;
col.info.colId = pExpr[i].base.colInfo.colId; col.info.bytes = pExpr[i].base.resBytes;
col.info.bytes = pExpr[i].base.resBytes; col.info.type = pExpr[i].base.resType;
col.info.type = pExpr[i].base.resType; taosArrayPush(pDataBlock->pDataBlock, &col);
taosArrayPush(pDataBlock->pDataBlock, &col);
if (!found && col.info.colId == pOrderVal->orderColId) {
if (!found && col.info.colId == pOrderVal->orderColId) { pInfo->colIndex = i;
pInfo->colIndex = i; found = true;
found = true;
}
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册