From dbcc57d7d777571d5fc463949439d5264509c6b5 Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Wed, 30 Mar 2022 19:52:08 +0800 Subject: [PATCH] [TD-14413]: TO_ISO8601(ts) core dump fix --- 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 2774d9e2fa..750f028e6b 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -241,7 +241,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