Merge lp:~akopytov/percona-xtrabackup/bug1408375-2.3 into lp:percona-xtrabackup/2.3

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 5065
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1408375-2.3
Merge into: lp:percona-xtrabackup/2.3
Diff against target: 40 lines (+10/-4)
1 file modified
storage/innobase/xtrabackup/innobackupex.pl (+10/-4)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1408375-2.3
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+248190@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) wrote :
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'storage/innobase/xtrabackup/innobackupex.pl'
--- storage/innobase/xtrabackup/innobackupex.pl 2015-01-17 06:50:18 +0000
+++ storage/innobase/xtrabackup/innobackupex.pl 2015-01-31 15:52:23 +0000
@@ -511,7 +511,8 @@
511 ref($self->{fh}) eq 'IO::Socket::SSL'511 ref($self->{fh}) eq 'IO::Socket::SSL'
512 or die(qq/SSL connection failed for $host\n/);512 or die(qq/SSL connection failed for $host\n/);
513 if ( $self->{fh}->can("verify_hostname") ) {513 if ( $self->{fh}->can("verify_hostname") ) {
514 $self->{fh}->verify_hostname( $host, $ssl_verify_args );514 $self->{fh}->verify_hostname( $host, $ssl_verify_args )
515 or die(qq/SSL certificate not valid for $host\n/);
515 }516 }
516 else {517 else {
517 my $fh = $self->{fh};518 my $fh = $self->{fh};
@@ -1036,11 +1037,12 @@
1036 PTDEBUG && _d(scalar @$instances_to_check, 'instances to check');1037 PTDEBUG && _d(scalar @$instances_to_check, 'instances to check');
1037 return unless @$instances_to_check;1038 return unless @$instances_to_check;
10381039
1039 my $protocol = 'https'; # optimistic, but...1040 my $protocol = 'https';
1040 eval { require IO::Socket::SSL; };1041 eval { require IO::Socket::SSL; };
1041 if ( $EVAL_ERROR ) {1042 if ( $EVAL_ERROR ) {
1042 PTDEBUG && _d($EVAL_ERROR);1043 PTDEBUG && _d($EVAL_ERROR);
1043 $protocol = 'http';1044 PTDEBUG && _d("SSL not available, won't run version_check");
1045 return;
1044 }1046 }
1045 PTDEBUG && _d('Using', $protocol);1047 PTDEBUG && _d('Using', $protocol);
10461048
@@ -1477,6 +1479,10 @@
1477 return;1479 return;
1478 }1480 }
14791481
1482 if ($item->{item} eq 'MySQL' && $item->{type} eq 'mysql_variable') {
1483 $item->{vars} = ['version_comment', 'version'];
1484 }
1485
1480 my @versions;1486 my @versions;
1481 my %version_for;1487 my %version_for;
1482 foreach my $instance ( @$instances ) {1488 foreach my $instance ( @$instances ) {

Subscribers

People subscribed via source and target branches

to all changes: