From 4f6cbf577cca399eb9939337a6f355af6702178f Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Fri, 15 Oct 2021 11:20:42 +0800 Subject: [PATCH] TD-6129 match/nmatch support for nchar --- src/tsdb/src/tsdbRead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbRead.c b/src/tsdb/src/tsdbRead.c index 8e11e44567..248c164add 100644 --- a/src/tsdb/src/tsdbRead.c +++ b/src/tsdb/src/tsdbRead.c @@ -4089,7 +4089,7 @@ static FORCE_INLINE int32_t tsdbGetJsonTagDataFromId(void *param, int32_t id, ch } else { void* jsonData = getJsonTagValue(pTable, name, TSDB_MAX_JSON_KEY_MD5_LEN, NULL); // jsonData == NULL for ? operation - if(jsonData != NULL); jsonData += CHAR_BYTES; // jump type + if(jsonData != NULL) jsonData += CHAR_BYTES; // jump type *data = jsonData; } -- GitLab