This commit is contained in:
Hongze Cheng 2024-07-15 16:29:08 +08:00
parent bc70d8e338
commit d6ba420eb8
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ static FORCE_INLINE int32_t taosGetTbHashVal(const char *tbname, int32_t tblen,
#define TAOS_CHECK_GOTO(CODE, LINO, LABEL) \ #define TAOS_CHECK_GOTO(CODE, LINO, LABEL) \
do { \ do { \
if ((CODE) != TSDB_CODE_SUCCESS) { \ if ((CODE) != TSDB_CODE_SUCCESS) { \
if ((LINO) != NULL) { \ if (LINO) { \
*(LINO) = __LINE__; \ *((int32_t *)(LINO)) = __LINE__; \
} \ } \
goto LABEL; \ goto LABEL; \
} \ } \