fix: tag filter
This commit is contained in:
parent
319dfd8f06
commit
46ca6c9466
|
@ -965,9 +965,9 @@ static int32_t doFilterByTagCond(STableListInfo* pListInfo, SArray* pUidList, SN
|
||||||
goto end;
|
goto end;
|
||||||
} else {
|
} else {
|
||||||
if ((condType == FILTER_NO_LOGIC || condType == FILTER_AND) && status != SFLT_NOT_INDEX) {
|
if ((condType == FILTER_NO_LOGIC || condType == FILTER_AND) && status != SFLT_NOT_INDEX) {
|
||||||
code = metaGetTableTagsByUids(metaHandle, pListInfo->suid, pUidList);
|
code = metaGetTableTagsByUids(metaHandle, pListInfo->suid, pUidTagList);
|
||||||
} else {
|
} else {
|
||||||
code = metaGetTableTags(metaHandle, pListInfo->suid, pUidList);
|
code = metaGetTableTags(metaHandle, pListInfo->suid, pUidTagList);
|
||||||
}
|
}
|
||||||
if (code != TSDB_CODE_SUCCESS) {
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
qError("failed to get table tags from meta, reason:%s, suid:%" PRIu64, tstrerror(code), pListInfo->suid);
|
qError("failed to get table tags from meta, reason:%s, suid:%" PRIu64, tstrerror(code), pListInfo->suid);
|
||||||
|
|
Loading…
Reference in New Issue