fix: compile problem of community

This commit is contained in:
kailixu 2024-12-16 10:49:58 +08:00
parent 6b49eededd
commit 2fa755d49c
1 changed files with 2 additions and 1 deletions

View File

@ -893,7 +893,7 @@ static void mndCompactPullup(SMnode *pMnode) {
}
taosArrayDestroy(pArray);
}
#ifdef TD_ENTERPRISE
static int32_t mndCompactDispatchAudit(SMnode *pMnode, SRpcMsg *pReq, SDbObj *pDb, STimeWindow *tw) {
if (!tsEnableAudit || tsMonitorFqdn[0] == 0 || tsMonitorPort == 0) {
return 0;
@ -995,6 +995,7 @@ static int32_t mndCompactDispatch(SRpcMsg *pReq) {
}
return 0;
}
#endif
static int32_t mndProcessCompactTimer(SRpcMsg *pReq) {
#ifdef TD_ENTERPRISE