fix: fix invalid read-write
This commit is contained in:
parent
409e9a9ac8
commit
8fa55d3844
|
@ -1604,7 +1604,6 @@ static void cliAsyncCb(uv_async_t* handle) {
|
||||||
SCliThrd* pThrd = item->pThrd;
|
SCliThrd* pThrd = item->pThrd;
|
||||||
STrans* pTransInst = pThrd->pTransInst;
|
STrans* pTransInst = pThrd->pTransInst;
|
||||||
|
|
||||||
SCliMsg* pMsg = NULL;
|
|
||||||
// batch process to avoid to lock/unlock frequently
|
// batch process to avoid to lock/unlock frequently
|
||||||
queue wq;
|
queue wq;
|
||||||
taosThreadMutexLock(&item->mtx);
|
taosThreadMutexLock(&item->mtx);
|
||||||
|
|
Loading…
Reference in New Issue