opt transport
This commit is contained in:
parent
ccea816fb9
commit
667da97c3a
|
@ -275,9 +275,9 @@ bool transAsyncPoolIsEmpty(SAsyncPool* pool);
|
||||||
#define ASYNC_CHECK_HANDLE(exh1, id) \
|
#define ASYNC_CHECK_HANDLE(exh1, id) \
|
||||||
do { \
|
do { \
|
||||||
if (id > 0) { \
|
if (id > 0) { \
|
||||||
SExHandle* exh2 = transAcquireExHandle(transGetRefMgt(), id); \
|
SExHandle* exh2 = transAcquireExHandle(transGetSvrRefMgt(), id); \
|
||||||
if (exh2 == NULL || id != exh2->refId) { \
|
if (exh2 == NULL || id != exh2->refId) { \
|
||||||
tDebug("ref:%" PRId64 " already released" PRIu64, id); \
|
tDebug("ref:%" PRId64 " already released", id); \
|
||||||
code = terrno; \
|
code = terrno; \
|
||||||
goto _return1; \
|
goto _return1; \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue