From 095fd4efc31e255fc9cedeb4465692b23fb3058a Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Sun, 25 Aug 2024 20:02:29 +0800 Subject: [PATCH] Update tgeosctx.c --- source/util/src/tgeosctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/util/src/tgeosctx.c b/source/util/src/tgeosctx.c index 65c3da2d44..2cef6c0d9f 100644 --- a/source/util/src/tgeosctx.c +++ b/source/util/src/tgeosctx.c @@ -86,6 +86,6 @@ _exit: } const char *getGeosErrMsg(int32_t code) { - SGeosContext *tlGeosCtx = taosThreadGetSpecific(tlGeosCtxKey) + SGeosContext *tlGeosCtx = taosThreadGetSpecific(tlGeosCtxKey); return (tlGeosCtx && tlGeosCtx->errMsg[0] != 0) ? tlGeosCtx->errMsg : (code ? tstrerror(code) : ""); }