[td-225]fix compiler error.
This commit is contained in:
parent
11761d016d
commit
782e498d1f
|
@ -2613,7 +2613,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col
|
|||
SColumnList ids = createColumnList(1, index.tableIndex, index.columnIndex);
|
||||
|
||||
if (finalResult) {
|
||||
insertResultField(pQueryInfo, colIndex, &ids, resultSize, resultType, pExpr->base.aliasName, pExpr);
|
||||
insertResultField(pQueryInfo, colIndex, &ids, resultSize, (int8_t)resultType, pExpr->base.aliasName, pExpr);
|
||||
} else {
|
||||
assert(ids.num == 1);
|
||||
tscColumnListInsert(pQueryInfo->colList, ids.ids[0].columnIndex, pExpr->base.uid, pSchema);
|
||||
|
|
Loading…
Reference in New Issue