gs_probackup show时候跳过dss初始化

This commit is contained in:
chenzhikai
2023-04-26 14:41:42 +08:00
committed by zhang_xubo
parent 640b9398ba
commit 0ec8a5ac2c

View File

@ -934,7 +934,8 @@ static void dss_init(void)
{
if (IsDssMode()) {
/* skip in some special backup modes */
if (backup_subcmd == DELETE_CMD || backup_subcmd == DELETE_INSTANCE_CMD) {
if (backup_subcmd == DELETE_CMD || backup_subcmd == DELETE_INSTANCE_CMD ||
backup_subcmd == SHOW_CMD || backup_subcmd == MERGE_CMD) {
return;
}