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

TD-6129<feature> support null true false for json tag

上级 9fc6af62
...@@ -4089,7 +4089,7 @@ static FORCE_INLINE int32_t tsdbGetJsonTagDataFromId(void *param, int32_t id, ch ...@@ -4089,7 +4089,7 @@ static FORCE_INLINE int32_t tsdbGetJsonTagDataFromId(void *param, int32_t id, ch
} else { } else {
int16_t colId = 0; int16_t colId = 0;
void* jsonData = getJsonTagValue(pTable, name, TSDB_MAX_JSON_KEY_MD5_LEN, &colId); void* jsonData = getJsonTagValue(pTable, name, TSDB_MAX_JSON_KEY_MD5_LEN, &colId);
if(colId == id + 2){ // if find json tag is NULL if(colId == id + 1){ // if find json tag is NULL
if(jsonData != NULL) *data = NULL; if(jsonData != NULL) *data = NULL;
else *data = pTable; else *data = pTable;
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册