fix/pr-23223-ci-core

This commit is contained in:
dmchen 2023-10-11 10:25:28 +00:00
parent ee7258bb59
commit c1e22eff1a
1 changed files with 2 additions and 0 deletions

View File

@ -544,7 +544,9 @@ STrans *mndAcquireTrans(SMnode *pMnode, int32_t transId) {
if (pTrans == NULL) { if (pTrans == NULL) {
terrno = TSDB_CODE_MND_TRANS_NOT_EXIST; terrno = TSDB_CODE_MND_TRANS_NOT_EXIST;
} else { } else {
#ifdef WINDOWS
taosThreadMutexInit(&pTrans->mutex, NULL); taosThreadMutexInit(&pTrans->mutex, NULL);
#endif
} }
return pTrans; return pTrans;
} }