diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat index ed471473..86f3be68 100755 --- a/bin/pt-heartbeat +++ b/bin/pt-heartbeat @@ -3774,7 +3774,11 @@ sub check_delay { # Collect a list of connections to the slaves. if ( $o->get('recurse') ) { PTDEBUG && _d('Recursing to slaves'); - my $ms = new MasterSlave(); + my $ms = new MasterSlave( + OptionParser => $o, + DSNParser => $dp, + Quoter => "Quoter", + ); $ms->recurse_to_slaves( { dbh => $dbh, dsn => $dsn, diff --git a/bin/pt-table-sync b/bin/pt-table-sync index 50299c28..34dc7f78 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -8378,7 +8378,7 @@ sub main { # Do the work. # ######################################################################## my $tp = new TableParser( Quoter => $q ); - my $ms = new MasterSlave(); + my $ms = new MasterSlave(OptionParser=>$o,DSNParser=>$dp,Quoter=>$q); my $du = new MySQLDump( cache => 0 ); my $rt = new Retry(); my $chunker = new TableChunker( Quoter => $q, TableParser => $tp );