mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 04:49:48 +00:00
Update --set-vars and ->prop() in all tools.
This commit is contained in:
@@ -6112,7 +6112,7 @@ sub main {
|
||||
$o->get_specs();
|
||||
$o->get_opts();
|
||||
my $dp = $o->DSNParser();
|
||||
$dp->prop('set-vars', $o->get('set-vars'));
|
||||
$dp->prop('set-vars', $o->set_vars());
|
||||
$o->set('progress', undef) if $o->get('q');
|
||||
|
||||
if ( !$o->got('help') ) {
|
||||
@@ -7159,10 +7159,21 @@ is no alternative)? MAGIC_view_required_indexes:
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: string; default: wait_timeout=10000
|
||||
type: Array
|
||||
|
||||
Set these MySQL variables. Immediately after connecting to MySQL, this
|
||||
string will be appended to SET and executed.
|
||||
Set the MySQL variables in this comma-separated list of C<variable=value> pairs.
|
||||
|
||||
By default, the tool sets:
|
||||
|
||||
=for comment ignore-pt-internal-value
|
||||
MAGIC_set_vars
|
||||
|
||||
wait_timeout=10000
|
||||
|
||||
Variables specified on the command line override these defaults. For
|
||||
example, specifying C<--set-vars wait_timeout=500> overrides the defaultvalue of C<10000>.
|
||||
|
||||
The tool prints a warning and continues if a variable cannot be set.
|
||||
|
||||
=item --socket
|
||||
|
||||
|
Reference in New Issue
Block a user