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

@ -24,10 +24,10 @@
#include "tpagedbuf.h"
#include "tsimplehash.h"
#define T_LONG_JMP(_obj, _c) \
do { \
ASSERT((_obj)->__jmpbuf[0] != 0); \
longjmp((_obj), (_c)); \
#define T_LONG_JMP(_obj, _c) \
do { \
ASSERT(1); \
longjmp((_obj), (_c)); \
} while (0)
#define SET_RES_WINDOW_KEY(_k, _ori, _len, _uid) \

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);
atomic_store_64(&pTaskInfo->owner, 0);
memset(pTaskInfo->env->__jmpbuf, 0, tListLen(pTaskInfo->env->__jmpbuf));
return pTaskInfo->code;
}