mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
Remove trailing spaces (#665)
* Remove trailing spaces * PR-665 - Remove trailing spaces - Updated not stable test t/pt-online-schema-change/preserve_triggers.t - Updated utilities in bin directory * PR-665 - Remove trailing spaces - Fixed typos * PR-665 - Remove trailing spaces - Fixed typos --------- Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
# ###########################################################################
|
||||
{
|
||||
# Package: MySQLConfigComparer
|
||||
# MySQLConfigComparer compares and diffs C<MySQLConfig> objects.
|
||||
# MySQLConfigComparer compares and diffs C<MySQLConfig> objects.
|
||||
package MySQLConfigComparer;
|
||||
|
||||
use strict;
|
||||
@@ -47,7 +47,7 @@ my %alt_val_for = (
|
||||
# Optional Arguments:
|
||||
# ignore_variables - Arrayref of variables to ignore
|
||||
# numeric_variables - Arrayref of variables to compare numerically
|
||||
# optional_value_variables - Arrayref of vars whose val is optional
|
||||
# optional_value_variables - Arrayref of vars whose val is optional
|
||||
# any_value_is_true_variables - Arrayref of vars... see below
|
||||
# base_path - Hashref of variable=>base_path
|
||||
#
|
||||
@@ -71,7 +71,7 @@ sub new {
|
||||
# The vars should be compared with == instead of eq so that
|
||||
# 0 equals 0.0, etc.
|
||||
my %is_numeric = (
|
||||
long_query_time => 1,
|
||||
long_query_time => 1,
|
||||
($args{numeric_variables}
|
||||
? map { $_ => 1 } @{$args{numeric_variables}}
|
||||
: ()),
|
||||
@@ -87,7 +87,7 @@ sub new {
|
||||
($args{optional_value_variables}
|
||||
? map { $_ => 1 } @{$args{optional_value_variables}}
|
||||
: ()),
|
||||
);
|
||||
);
|
||||
|
||||
# Like value_is_optional but SHOW VARIABlES does not list a default value,
|
||||
# it only lists ON if the variable was given in a config file without or
|
||||
|
Reference in New Issue
Block a user