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

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

上级 d8f4f600
...@@ -1206,7 +1206,9 @@ static int tsdbRemoveTableFromIndex(STsdbMeta *pMeta, STable *pTable) { ...@@ -1206,7 +1206,9 @@ static int tsdbRemoveTableFromIndex(STsdbMeta *pMeta, STable *pTable) {
else val = jsonTypeKey; else val = jsonTypeKey;
} }
SArray** tablist = (SArray **)taosHashGet(pSTable->jsonKeyMap, varDataVal(val) ,varDataLen(val)); char keyMd5[TSDB_MAX_JSON_KEY_MD5_LEN] = {0};
jsonKeyMd5(varDataVal(val), varDataLen(val), keyMd5);
SArray** tablist = (SArray **)taosHashGet(pSTable->jsonKeyMap, keyMd5, TSDB_MAX_JSON_KEY_MD5_LEN);
if(tablist == NULL) { if(tablist == NULL) {
tsdbError("json tag no key error,%d", j); tsdbError("json tag no key error,%d", j);
continue; continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册