提交 b6199d8d 编写于 作者: H Haojun Liao

enh(query): update the aligned bits for colInfodata

上级 658cb393
......@@ -19,7 +19,7 @@
#include "tlog.h"
#include "tname.h"
#define MALLOC_ALIGN_BYTES 32
#define MALLOC_ALIGN_BYTES 256
int32_t colDataGetLength(const SColumnInfoData* pColumnInfoData, int32_t numOfRows) {
ASSERT(pColumnInfoData != NULL);
......
......@@ -351,7 +351,8 @@ void* taosMemoryMallocAlign(uint32_t alignment, int64_t size) {
ASSERT(0);
#else
#if defined(LINUX)
return memalign(alignment, size);
void* p = memalign(alignment, size);
return p;
#else
return taosMemoryMalloc(size);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册