fix(query): fix syntax error.

This commit is contained in:
Haojun Liao 2024-08-06 23:57:29 +08:00
parent b21cc86ce3
commit ef41c0dcf9
2 changed files with 4 additions and 6 deletions

View File

@ -26,7 +26,7 @@
#define T_LONG_JMP(_obj, _c) \ #define T_LONG_JMP(_obj, _c) \
do { \ do { \
ASSERT((_obj)->__jmpbuf[0] != 0); \ ASSERT(1); \
longjmp((_obj), (_c)); \ longjmp((_obj), (_c)); \
} while (0) } while (0)

View File

@ -838,8 +838,6 @@ int32_t qExecTask(qTaskInfo_t tinfo, SSDataBlock** pRes, uint64_t* useconds) {
GET_TASKID(pTaskInfo), current, total, 0, el / 1000.0); GET_TASKID(pTaskInfo), current, total, 0, el / 1000.0);
atomic_store_64(&pTaskInfo->owner, 0); atomic_store_64(&pTaskInfo->owner, 0);
memset(pTaskInfo->env->__jmpbuf, 0, tListLen(pTaskInfo->env->__jmpbuf));
return pTaskInfo->code; return pTaskInfo->code;
} }