提交 e87af5f5 编写于 作者: A Alex Duan

deal tdGetKVRowValOfCol maybe return NULL

上级 19acec61
...@@ -3653,6 +3653,9 @@ static bool tableFilterFp(const void* pNode, void* param) { ...@@ -3653,6 +3653,9 @@ static bool tableFilterFp(const void* pNode, void* param) {
return (val != NULL) && (!isNull(val, pInfo->sch.type)); return (val != NULL) && (!isNull(val, pInfo->sch.type));
} }
} else if (pInfo->optr == TSDB_RELATION_IN) { } else if (pInfo->optr == TSDB_RELATION_IN) {
if(val == NULL) {
return false;
}
int type = pInfo->sch.type; int type = pInfo->sch.type;
if (type == TSDB_DATA_TYPE_BOOL || IS_SIGNED_NUMERIC_TYPE(type) || type == TSDB_DATA_TYPE_TIMESTAMP) { if (type == TSDB_DATA_TYPE_BOOL || IS_SIGNED_NUMERIC_TYPE(type) || type == TSDB_DATA_TYPE_TIMESTAMP) {
int64_t v; int64_t v;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册