From 96e7876dedd34056ad57ff47148242309c2e9fcc Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Thu, 12 Aug 2021 09:49:31 +0800 Subject: [PATCH] [TD-5623]: fix endian issue --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index b7a5715544..cb2860ec56 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2698,7 +2698,7 @@ static void decompressQueryColData(SSqlRes *pRes, SQueryInfo* pQueryInfo, char * compressed, NULL, 0); p += flen; decompLen +=flen; - pData += compSizes[i]; + pData += htonl(compSizes[i]; } tfree(outputBuf); }