Merge pull request #23226 from taosdata/fix/pr-23223-ci-core

fix/pr-23223-ci-core
This commit is contained in:
wade zhang 2023-10-12 09:03:38 +08:00 committed by GitHub
commit f386865562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
} }