Update tgeosctx.c

This commit is contained in:
Cary Xu 2024-08-25 20:02:29 +08:00 committed by GitHub
parent b456d6cfcb
commit 095fd4efc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) : "");
}