From 59ecfb6d961f17f74a1384418275de6eeea39e36 Mon Sep 17 00:00:00 2001 From: Huo Linhe Date: Tue, 17 Jan 2023 09:12:45 +0800 Subject: [PATCH] chore: fix write_raw_block_with_fields error Close [TD-21949](https://jira.taosdata.com:18080/browse/TD-21949) --- source/libs/parser/src/parInsertUtil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/libs/parser/src/parInsertUtil.c b/source/libs/parser/src/parInsertUtil.c index b8ef7d970d..7cc93b448f 100644 --- a/source/libs/parser/src/parInsertUtil.c +++ b/source/libs/parser/src/parInsertUtil.c @@ -671,7 +671,6 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate goto end; } - colLength[c] = htonl(colLength[c]); int8_t* offset = pStart; if (IS_VAR_DATA_TYPE(pColSchema->type)) { pStart += numOfRows * sizeof(int32_t); @@ -687,4 +686,4 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate end: return ret; -} \ No newline at end of file +} -- GitLab