提交 1faef886 编写于 作者: H Haojun Liao

[TD-225]

上级 a41312d5
......@@ -2463,7 +2463,7 @@ TAOS_ROW doSetResultRowData(SSqlObj *pSql) {
for (int i = 0; i < size; ++i) {
SInternalField* pInfo = (SInternalField*)TARRAY_GET_ELEM(pQueryInfo->fieldsInfo.internalField, i);
int32_t type = pInfo->field.type;
int32_t type = pInfo->field.type;
int32_t bytes = pInfo->field.bytes;
if (type != TSDB_DATA_TYPE_BINARY && type != TSDB_DATA_TYPE_NCHAR) {
......@@ -2473,7 +2473,7 @@ TAOS_ROW doSetResultRowData(SSqlObj *pSql) {
pRes->length[i] = varDataLen(pRes->urow[i]);
}
pRes->urow[i] += bytes;
((char**) pRes->urow)[i] += bytes;
}
pRes->row++; // index increase one-step
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册