提交 bf79ca56 编写于 作者: M mw0 提交者: wangzelin.wzl

Forbidden backup copies

上级 6802a901
......@@ -1632,7 +1632,7 @@ int check_backup_dest_opt(const bool is_backup_backup, const ObString& opt_str)
}
}
if (OB_SUCC(ret)) {
if (new_opt.backup_copies_ < 0 || new_opt.backup_copies_ > OB_MAX_BACKUP_COPIES) {
if (0 != new_opt.backup_copies_) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("invalid backup copies", K(ret), K(opt_str), K(new_opt));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "backup_copies out of range [0,8] is");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册