提交 51e513a3 编写于 作者: H Hongze Cheng

more code

上级 e90e0ff8
......@@ -535,13 +535,17 @@ static int32_t tRowMerge(SArray *aRowP, STSchema *pTSchema, int32_t iStart, int3
for (int32_t iRow = 0; iRow < nRow; iRow++) {
SColVal *pColValT = tRowIterNext(aIter[iRow]);
// todo: take value according to flag
if (pColVal == NULL || COL_VAL_IS_VALUE(pColValT)) {
// todo: take strategy according to the flag
if (COL_VAL_IS_VALUE(pColValT)) {
pColVal = pColValT;
} else if (COL_VAL_IS_NULL(pColValT)) {
if (pColVal == NULL) {
pColVal = pColValT;
}
}
}
taosArrayPush(aColVal, pColVal);
if (pColVal) taosArrayPush(aColVal, pColVal);
}
// build
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册