mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
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:
parent
5999d5120e
commit
59a0236da4
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue