未验证 提交 107f97e9 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #19903 from taosdata/fix/TS-2581-2.6

fix(query): fix filterInfo->cunit not allocated caused crash
...@@ -3836,6 +3836,11 @@ _return: ...@@ -3836,6 +3836,11 @@ _return:
int32_t filterGetIndexedColumnInfo(SFilterInfo* info, char** val, int32_t *order, int32_t *flag) { int32_t filterGetIndexedColumnInfo(SFilterInfo* info, char** val, int32_t *order, int32_t *flag) {
if (FILTER_GET_FLAG(info->status, FI_STATUS_EMPTY)) {
*order = 0;
return TSDB_CODE_SUCCESS;
}
SFilterComUnit *cunit = info->cunits; SFilterComUnit *cunit = info->cunits;
uint8_t optr = cunit->optr; uint8_t optr = cunit->optr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册