提交 bca610a8 编写于 作者: wmmhello's avatar wmmhello

[TD-12770]<fix>(query):stable query cause ProgrammingError

上级 47ac45b9
......@@ -1282,7 +1282,7 @@ int32_t filterAddUnitFromUnit(SFilterInfo *dst, SFilterInfo *src, SFilterUnit* u
void *data = FILTER_UNIT_VAL_DATA(src, u);
if (IS_VAR_DATA_TYPE(type)) {
if (FILTER_UNIT_OPTR(u) == TSDB_RELATION_IN) {
filterAddField(dst, NULL, &data, FLD_TYPE_VALUE, &right, 0, false);
filterAddField(dst, NULL, &data, FLD_TYPE_VALUE, &right, sizeof(SHashObj), false);
t = FILTER_GET_FIELD(dst, right);
......
......@@ -599,6 +599,7 @@ void taosHashClear(SHashObj *pHashObj) {
__wr_unlock(&pHashObj->lock, pHashObj->type);
}
// the input paras should be SHashObj **, so the origin input will be set by tfree(*pHashObj)
void taosHashCleanup(SHashObj *pHashObj) {
if (pHashObj == NULL) {
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册