未验证 提交 2027e7b2 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #913 from taosdata/hotfix/TBASE-1273

Can drop non-existent databases
......@@ -315,8 +315,7 @@ int mgmtDropDbByName(SAcctObj *pAcct, char *name) {
pDb = (SDbObj *)sdbGetRow(dbSdb, name);
if (pDb == NULL) {
mWarn("db:%s is not there", name);
// return TSDB_CODE_INVALID_DB;
return TSDB_CODE_SUCCESS;
return TSDB_CODE_INVALID_DB;
}
if (mgmtCheckIsMonitorDB(pDb->name, tsMonitorDbName)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册