提交 d609fe31 编写于 作者: H hjxilinx

remove unused code

上级 1aa5f927
......@@ -378,12 +378,6 @@ int mgmtDropDbByName(SAcctObj *pAcct, char *name) {
return TSDB_CODE_SUCCESS;
}
// char dbName[TSDB_DB_NAME_LEN + 1] = {0};
// extractDBName(pDb->name, dbName);
// if (strncasecmp(dbName, tsMonitorDbName, strlen(dbName)) == 0) {
// return TSDB_CODE_MONITOR_DB_FORBEIDDEN;
// }
if (mgmtCheckIsMonitorDB(pDb->name, tsMonitorDbName)) {
return TSDB_CODE_MONITOR_DB_FORBEIDDEN;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册