1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
This commit is contained in:
Marko Mäkelä
2026-10-23 08:27:44 +03:00
parent 63222e740d
commit b1260be171

View File

@@ -797,15 +797,15 @@ bool log_t::set_archive(my_bool archive, THD *thd, bool backup) noexcept
wait_lsn= 0;
break;
}
if (archive == this->archive)
break;
if ((!backup || archive) && thd_kill_level(thd))
goto fail;
if (!backup && this->backup)
{
my_printf_error(ER_WRONG_USAGE, "BACKUP SERVER is in progress", MYF(0));
goto fail;
}
if (archive == this->archive)
break;
if ((!backup || archive) && thd_kill_level(thd))
goto fail;
if (resize_log.is_opened())
{