From d922e21af7d04a5a622c5c8a2d3c939144fa8a00 Mon Sep 17 00:00:00 2001 From: obdev Date: Mon, 12 Jul 2021 20:17:20 +0800 Subject: [PATCH] forbid set backup dest before patch --- src/sql/resolver/cmd/ob_alter_system_resolver.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sql/resolver/cmd/ob_alter_system_resolver.cpp b/src/sql/resolver/cmd/ob_alter_system_resolver.cpp index a337d7c3a2..3825ced04f 100644 --- a/src/sql/resolver/cmd/ob_alter_system_resolver.cpp +++ b/src/sql/resolver/cmd/ob_alter_system_resolver.cpp @@ -1477,6 +1477,9 @@ int check_backup_dest(const ObString& backup_dest) LOG_ERROR("cannot set backup dest with old backup data", K(ret), K(backup_dest_buf), K(last_status)); } + ret = OB_NOT_SUPPORTED; + LOG_USER_ERROR(OB_NOT_SUPPORTED, "please wait backup enhance patch, recently backup "); + LOG_ERROR("not support backup now, please wait backup enhance code patch"); return ret; } -- GitLab