PROJECT_MOVED -> https://lab.nexedi.com/nexedi/slapos
[slapos.git] / component / xtrabackup / xtrabackup-allow_force_ibbackup.patch
1 commit c052380cf84e33b32268af97a7c1539c8a6771e5
2 Author: Ćukasz Nowak <luke@nexedi.com>
3 Date:   Mon Jun 6 13:29:32 2011 +0200
4
5     Really use option_ibbackup_binary.
6
7 diff --git a/innobackupex b/innobackupex
8 index 67d0d44..ed06294 100755
9 --- a/innobackupex
10 +++ b/innobackupex
11 @@ -214,6 +214,7 @@ check_args();
12  print_version();
13  
14  # initialize global variables and perform some checks
15 +if ( $option_ibbackup_binary eq "autodetect" ){
16  if ($option_copy_back) {
17      $option_ibbackup_binary = 'xtrabackup_51';
18  } elsif ($option_apply_log) {
19 @@ -250,6 +251,7 @@ if ($option_copy_back) {
20  } else {
21      $option_ibbackup_binary = set_xtrabackup_version();
22  }
23 +}
24  init();
25  
26  my $ibbackup_exit_code = 0;