Merge lp:~percona-dev/percona-xtrabackup/fix_729843 into lp:percona-xtrabackup/2.0

Proposed by Valentine Gostev
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 254
Proposed branch: lp:~percona-dev/percona-xtrabackup/fix_729843
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 13 lines (+2/-1)
1 file modified
innobackupex (+2/-1)
To merge this branch: bzr merge lp:~percona-dev/percona-xtrabackup/fix_729843
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+59518@code.launchpad.net

Description of the change

Added fix for bug 729843

To post a comment you must log in.
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
1=== modified file 'innobackupex'
2--- innobackupex 2011-04-28 04:07:37 +0000
3+++ innobackupex 2011-04-29 14:20:51 +0000
4@@ -978,7 +978,8 @@
5 my $options = get_mysql_options();
6 # run mysql as a child process with a pipe connection
7 $now = current_time();
8- print STDERR "$now $prefix Starting mysql with options: $options\n";
9+ (my $prt_options = $options) =~ s/--password=[^ ]+ /--password=xxxxxxxx /g;
10+ print STDERR "$now $prefix Starting mysql with options: $prt_options\n";
11 $mysql_pid = open(*MYSQL_WRITER, "| mysql $options >$mysql_stdout 2>$mysql_stderr ") or Die "Failed to spawn mysql child process: $!";
12 MYSQL_WRITER->autoflush(1);
13 $now = current_time();

Subscribers

People subscribed via source and target branches