mariabackup - do not extend innodb tablespaces in prepare, unless
incremental prepare is running.
This commit is contained in:
parent
ecb25df21b
commit
e8bc838eb9
@ -6546,6 +6546,8 @@ skip_check:
|
|||||||
if(innodb_init())
|
if(innodb_init())
|
||||||
goto error_cleanup;
|
goto error_cleanup;
|
||||||
|
|
||||||
|
if (xtrabackup_incremental) {
|
||||||
|
|
||||||
it = datafiles_iter_new(fil_system);
|
it = datafiles_iter_new(fil_system);
|
||||||
if (it == NULL) {
|
if (it == NULL) {
|
||||||
msg("xtrabackup: Error: datafiles_iter_new() failed.\n");
|
msg("xtrabackup: Error: datafiles_iter_new() failed.\n");
|
||||||
@ -6588,6 +6590,8 @@ skip_check:
|
|||||||
|
|
||||||
datafiles_iter_free(it);
|
datafiles_iter_free(it);
|
||||||
|
|
||||||
|
} /* if (xtrabackup_incremental) */
|
||||||
|
|
||||||
if (xtrabackup_export) {
|
if (xtrabackup_export) {
|
||||||
msg("xtrabackup: export option is specified.\n");
|
msg("xtrabackup: export option is specified.\n");
|
||||||
os_file_t info_file = XB_FILE_UNDEFINED;
|
os_file_t info_file = XB_FILE_UNDEFINED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user