fix: minor changes

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

View File

@ -926,8 +926,12 @@ _exit:
}
int32_t mndCheckDbDnodeList(SMnode *pMnode, char *db, char *dnodeListStr, SArray *dnodeList) {
terrno = TSDB_CODE_OPS_NOT_SUPPORT;
return terrno;
if (dnodeListStr[0] != 0) {
terrno = TSDB_CODE_OPS_NOT_SUPPORT;
return terrno;
} else {
return 0;
}
}
static int32_t mndProcessCreateDbReq(SRpcMsg *pReq) {