fix: minor changes

This commit is contained in:
Shengliang Guan 2024-10-31 16:49:12 +08:00
parent 3129d42576
commit 44a9752cd3
1 changed files with 2 additions and 0 deletions

View File

@ -925,6 +925,7 @@ _exit:
TAOS_RETURN(code); TAOS_RETURN(code);
} }
#ifndef TD_ENTERPRISE
int32_t mndCheckDbDnodeList(SMnode *pMnode, char *db, char *dnodeListStr, SArray *dnodeList) { int32_t mndCheckDbDnodeList(SMnode *pMnode, char *db, char *dnodeListStr, SArray *dnodeList) {
if (dnodeListStr[0] != 0) { if (dnodeListStr[0] != 0) {
terrno = TSDB_CODE_OPS_NOT_SUPPORT; terrno = TSDB_CODE_OPS_NOT_SUPPORT;
@ -933,6 +934,7 @@ int32_t mndCheckDbDnodeList(SMnode *pMnode, char *db, char *dnodeListStr, SArray
return 0; return 0;
} }
} }
#endif
static int32_t mndProcessCreateDbReq(SRpcMsg *pReq) { static int32_t mndProcessCreateDbReq(SRpcMsg *pReq) {
SMnode *pMnode = pReq->info.node; SMnode *pMnode = pReq->info.node;