Merge pull request #20270 from taosdata/fix/stopFunc

fix: should not set startFunc/stopFunc to 0.
This commit is contained in:
Shengliang Guan 2023-03-06 17:48:52 +08:00 committed by GitHub
commit c32ba4ecc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ static int32_t mndTransActionInsert(SSdb *pSdb, STrans *pTrans) {
if (fp) {
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
}
pTrans->startFunc = 0;
// pTrans->startFunc = 0;
}
return 0;
@ -555,7 +555,7 @@ static int32_t mndTransActionDelete(SSdb *pSdb, STrans *pTrans, bool callFunc) {
if (fp) {
(*fp)(pSdb->pMnode, pTrans->param, pTrans->paramLen);
}
pTrans->stopFunc = 0;
// pTrans->stopFunc = 0;
}
mndTransDropData(pTrans);