From c06463be9e875d5cadb771bbeedacf252f419a75 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Wed, 11 May 2022 14:57:04 +0800 Subject: [PATCH] fix(common): reverseCopy not support timestamp datatype [TS-1480] --- src/common/src/texpr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/src/texpr.c b/src/common/src/texpr.c index b764ffbb01..365e70e482 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -367,7 +367,8 @@ static void reverseCopy(char* dest, const char* src, int16_t type, int32_t numOf return; } case TSDB_DATA_TYPE_BIGINT: - case TSDB_DATA_TYPE_UBIGINT: { + case TSDB_DATA_TYPE_UBIGINT: + case TSDB_DATA_TYPE_TIMESTAMP: { int64_t* p = (int64_t*) dest; int64_t* pSrc = (int64_t*) src; -- GitLab