From 801e11660ebdd8320b7d87d15d42329fc71dc16c Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Tue, 1 Mar 2022 16:05:19 +0800 Subject: [PATCH] fix CI --- src/common/src/tvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tvariant.c b/src/common/src/tvariant.c index 086292b2e2..13d67c5552 100644 --- a/src/common/src/tvariant.c +++ b/src/common/src/tvariant.c @@ -284,7 +284,7 @@ void tVariantAssign(tVariant *pDst, const tVariant *pSrc) { } - if (IS_NUMERIC_TYPE(pSrc->nType) || (pSrc->nType == TSDB_DATA_TYPE_BOOL)) { + if (IS_NUMERIC_TYPE(pSrc->nType) || IS_TIMESTAMP_TYPE(pSrc->nType) || (pSrc->nType == TSDB_DATA_TYPE_BOOL)) { pDst->i64 = pSrc->i64; } else if (pSrc->nType == TSDB_DATA_TYPE_POINTER_ARRAY) { // this is only for string array size_t num = taosArrayGetSize(pSrc->arr); -- GitLab