fix(query): remove invalid assert for mac&win.

This commit is contained in:
Haojun Liao 2022-12-03 20:16:56 +08:00
parent a3200b555c
commit 392fe988a0
1 changed files with 4 additions and 0 deletions

View File

@ -1206,7 +1206,11 @@ static int32_t doEnsureCapacity(SColumnInfoData* pColumn, const SDataBlockInfo*
}
pColumn->pData = tmp;
// todo remove it soon
#if defined LINUX
ASSERT((((uint64_t)pColumn->pData) & (MALLOC_ALIGN_BYTES - 1)) == 0x0);
#endif
if (clearPayload) {
memset(tmp + pColumn->info.bytes * existedRows, 0, pColumn->info.bytes * (numOfRows - existedRows));