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

TD-6129<feature> add tag?'key' in where logic

上级 c83c4c89
...@@ -4115,9 +4115,9 @@ static void queryByJsonTag(STable* pTable, void* filterInfo, SArray* res){ ...@@ -4115,9 +4115,9 @@ static void queryByJsonTag(STable* pTable, void* filterInfo, SArray* res){
if (p == NULL) { if (p == NULL) {
p = taosArraySearch(tabList, element, tsdbCompareJsonMapValue, TD_GE); p = taosArraySearch(tabList, element, tsdbCompareJsonMapValue, TD_GE);
if(p == NULL){ if(p == NULL){
taosArrayPush(tabList, tabList); taosArrayPush(tabList, element);
}else{ }else{
taosArrayInsert(tabList, TARRAY_ELEM_IDX(tabList, p), tabList); taosArrayInsert(tabList, TARRAY_ELEM_IDX(tabList, p), element);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册