From 92da2c35722918ae4f175f2578788b13fd605b57 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Thu, 16 Sep 2021 17:38:25 +0800 Subject: [PATCH] TD-6129 add json tag support --- src/tsdb/src/tsdbMeta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbMeta.c b/src/tsdb/src/tsdbMeta.c index af7ab70dcd..14d0ee9b4f 100644 --- a/src/tsdb/src/tsdbMeta.c +++ b/src/tsdb/src/tsdbMeta.c @@ -401,7 +401,7 @@ int tsdbUpdateTableTagValue(STsdbRepo *repo, SUpdateTableTagValMsg *pMsg) { TSDB_WLOCK_TABLE(pTable); if (pMsg->type == TSDB_DATA_TYPE_JSON){ kvRowFree(pTable->tagVal); - pTable->tagVal = tdKVRowDup(POINTER_SHIFT(pMsg->data, pMsg->schemaLen)) + pTable->tagVal = tdKVRowDup(POINTER_SHIFT(pMsg->data, pMsg->schemaLen)); }else{ tdSetKVRowDataOfCol(&(pTable->tagVal), pMsg->colId, pMsg->type, POINTER_SHIFT(pMsg->data, pMsg->schemaLen)); } -- GitLab