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); }