提交 59ecfb6d 编写于 作者: H Huo Linhe

chore: fix write_raw_block_with_fields error

Close [TD-21949](https://jira.taosdata.com:18080/browse/TD-21949)
上级 beb63755
...@@ -671,7 +671,6 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate ...@@ -671,7 +671,6 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate
goto end; goto end;
} }
colLength[c] = htonl(colLength[c]);
int8_t* offset = pStart; int8_t* offset = pStart;
if (IS_VAR_DATA_TYPE(pColSchema->type)) { if (IS_VAR_DATA_TYPE(pColSchema->type)) {
pStart += numOfRows * sizeof(int32_t); pStart += numOfRows * sizeof(int32_t);
...@@ -687,4 +686,4 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate ...@@ -687,4 +686,4 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate
end: end:
return ret; return ret;
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册