Cleanup: Speed up mariabackup --prepare

srv_start(): Avoid trx_lists_init_at_db_start() for normal
mariabackup --prepare without --export.
This commit is contained in:
Marko Mäkelä 2020-10-16 14:38:07 +03:00
parent 5999d5120e
commit 59a0236da4

View file

@ -1463,6 +1463,9 @@ file_checked:
if (err != DB_SUCCESS) {
return srv_init_abort(err);
}
if (srv_operation == SRV_OPERATION_RESTORE) {
break;
}
trx_lists_init_at_db_start();
break;
case SRV_OPERATION_RESTORE_DELTA: