diff --git a/source/common/src/tdatablock.c b/source/common/src/tdatablock.c index fa63543439ffdeb403a154d3b9fcb65d36e21eeb..daf80ad9152afa4e36c887c6e075323574d47921 100644 --- a/source/common/src/tdatablock.c +++ b/source/common/src/tdatablock.c @@ -2320,7 +2320,7 @@ const char* blockDecode(SSDataBlock* pBlock, const char* pData) { for (int32_t i = 0; i < numOfCols; ++i) { SColumnInfoData* pColInfoData = taosArrayGet(pBlock->pDataBlock, i); - pColInfoData->info.type = *(int16_t*)pStart; + pColInfoData->info.type = *(int8_t*)pStart; pStart += sizeof(int8_t); pColInfoData->info.bytes = *(int32_t*)pStart;