Skip to content
Permalink
Browse files

mariabackup - do not extend innodb tablespaces in prepare, unless

incremental prepare is running.
  • Loading branch information...
vaintroub authored and vuvova committed Apr 20, 2017
1 parent ecb25df commit e8bc838eb9ee4aa8de11bfa2472c9784df78590f
Showing with 4 additions and 0 deletions.
  1. +4 −0 extra/mariabackup/xtrabackup.cc
@@ -6546,6 +6546,8 @@ xtrabackup_prepare_func(int argc, char ** argv)
if(innodb_init())
goto error_cleanup;

if (xtrabackup_incremental) {

it = datafiles_iter_new(fil_system);
if (it == NULL) {
msg("xtrabackup: Error: datafiles_iter_new() failed.\n");
@@ -6588,6 +6590,8 @@ xtrabackup_prepare_func(int argc, char ** argv)

datafiles_iter_free(it);

} /* if (xtrabackup_incremental) */

if (xtrabackup_export) {
msg("xtrabackup: export option is specified.\n");
os_file_t info_file = XB_FILE_UNDEFINED;

0 comments on commit e8bc838

Please sign in to comment.
You can’t perform that action at this time.