mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Test and fix bug 1206728.
This commit is contained in:
@@ -4448,15 +4448,12 @@ sub main {
|
||||
my $dp = $o->DSNParser();
|
||||
$dp->prop('set-vars', $o->set_vars());
|
||||
|
||||
my $src;
|
||||
if ( my $src_dsn_string = shift @ARGV ) {
|
||||
$src = Cxn->new(
|
||||
dsn_string => $src_dsn_string,
|
||||
parent => $o->get('daemonize'),
|
||||
DSNParser => $dp,
|
||||
OptionParser => $o,
|
||||
);
|
||||
}
|
||||
my $src = Cxn->new(
|
||||
dsn_string => shift @ARGV,
|
||||
parent => $o->get('daemonize'),
|
||||
DSNParser => $dp,
|
||||
OptionParser => $o,
|
||||
);
|
||||
|
||||
my $dst;
|
||||
if ( my $dst_dsn = $o->get('dest') ) {
|
||||
|
Reference in New Issue
Block a user