enh(query): update the aligned bits for colInfodata
This commit is contained in:
parent
658cb393a7
commit
b6199d8d99
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue