mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-21 01:00:47 +08:00
First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing.
This commit is contained in:
@@ -31,7 +31,7 @@ if ( !$master_dbh ) {
|
||||
|
||||
my $q = new Quoter();
|
||||
my $tp = new TableParser(Quoter => $q);
|
||||
my @args = qw(--lock-wait-timeout 3);
|
||||
my @args = qw(--set-vars innodb_lock_wait_timeout=3);
|
||||
my $output = "";
|
||||
my $dsn = "h=127.1,P=12345,u=msandbox,p=msandbox";
|
||||
my $exit = 0;
|
||||
|
||||
Reference in New Issue
Block a user