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

TD-6129<feature> add tag-> where logic

上级 97fcf7a7
......@@ -3178,8 +3178,8 @@ void filterJsonTypeConvert(SFilterInfo* info) {
uint8_t type = 0;
if(JSON_TYPE_NCHAR){ type = TSDB_DATA_TYPE_NCHAR;} else {type = TSDB_DATA_TYPE_BINARY;}
for(int i = 0; i < info->unitNum; i++){
if(info->units[info->unitNum].compare.type == TSDB_DATA_TYPE_JSON){
info->units[info->unitNum].compare.type= type;
if(info->units[i].compare.type == TSDB_DATA_TYPE_JSON){
info->units[i].compare.type= type;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册