From 59e83fca5d214f713e75042b4874353ee2cf03a0 Mon Sep 17 00:00:00 2001 From: kailixu Date: Wed, 5 Jul 2023 18:33:09 +0800 Subject: [PATCH] chore: build fix --- include/util/taoserror.h | 1 + source/dnode/vnode/src/sma/smaTimeRange.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/util/taoserror.h b/include/util/taoserror.h index 772a668f0f..dede10aede 100644 --- a/include/util/taoserror.h +++ b/include/util/taoserror.h @@ -759,6 +759,7 @@ int32_t* taosGetErrno(); #define TSDB_CODE_RSMA_FS_REF TAOS_DEF_ERROR_CODE(0, 0x3156) #define TSDB_CODE_RSMA_FS_SYNC TAOS_DEF_ERROR_CODE(0, 0x3157) #define TSDB_CODE_RSMA_FS_UPDATE TAOS_DEF_ERROR_CODE(0, 0x3158) +#define TSDB_CODE_RSMA_RESULT TAOS_DEF_ERROR_CODE(0, 0x3159) //index #define TSDB_CODE_INDEX_REBUILDING TAOS_DEF_ERROR_CODE(0, 0x3200) diff --git a/source/dnode/vnode/src/sma/smaTimeRange.c b/source/dnode/vnode/src/sma/smaTimeRange.c index cbad8bbac9..0c37008344 100644 --- a/source/dnode/vnode/src/sma/smaTimeRange.c +++ b/source/dnode/vnode/src/sma/smaTimeRange.c @@ -447,7 +447,7 @@ static int32_t tdProcessTSmaInsertImpl(SSma *pSma, int64_t indexUid, const char TSDB_CHECK_CODE(code, lino, _exit); if ((terrno = tsmaProcessDelReq(pSma, indexUid, &deleteReq)) != 0) { - goto _err; + goto _exit; } #if 0 -- GitLab