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) \
do { \
if ((CODE) != TSDB_CODE_SUCCESS) { \
if ((LINO) != NULL) { \
*(LINO) = __LINE__; \
if (LINO) { \
*((int32_t *)(LINO)) = __LINE__; \
} \
goto LABEL; \
} \