Update filterInt.h

This commit is contained in:
dapan1121 2024-08-07 16:10:27 +08:00 committed by GitHub
parent a4c120ee28
commit e8a6e15c49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -464,7 +464,7 @@ struct SFilterInfo {
(colInfo).type = RANGE_TYPE_UNIT; \
(colInfo).dataType = FILTER_UNIT_DATA_TYPE(u); \
if (taosArrayPush((SArray *)((colInfo).info), &u) == NULL) { \
FLT_ERR_RET(TSDB_CODE_OUT_OF_MEMORY); \
FLT_ERR_RET(terrno); \
} \
} while (0)
#define FILTER_PUSH_VAR_HASH(colInfo, ha) \
@ -482,7 +482,7 @@ struct SFilterInfo {
do { \
*(dst) = taosMemoryMalloc(sizeof(uint32_t) * n); \
if (NULL == *(dst)) { \
FLT_ERR_JRET(TSDB_CODE_OUT_OF_MEMORY); \
FLT_ERR_JRET(terrno); \
} \
(void)memcpy(*(dst), src, sizeof(uint32_t) * n); \
} while (0)