From 7ba1ae5d8c379208af4e18875f3bea60717bcfc7 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Wed, 29 Jun 2011 09:40:09 -0600 Subject: [PATCH] Change tool packages from mk_ to pt_. --- bin/pt-config-diff | 2 +- bin/pt-deadlock-logger | 2 +- bin/pt-duplicate-key-checker | 2 +- bin/pt-fifo-split | 2 +- bin/pt-find | 2 +- bin/pt-fk-error-logger | 2 +- bin/pt-heartbeat | 2 +- bin/pt-index-usage | 2 +- bin/pt-kill | 2 +- bin/pt-log-player | 2 +- bin/pt-online-schema-change | 2 +- bin/pt-profile-compact | 2 +- bin/pt-query-advisor | 2 +- bin/pt-query-digest | 2 +- bin/pt-query-profiler | 2 +- bin/pt-schema-advisor | 2 +- bin/pt-show-grants | 2 +- bin/pt-slave-delay | 2 +- bin/pt-slave-find | 2 +- bin/pt-slave-restart | 2 +- bin/pt-table-checksum | 2 +- bin/pt-table-sync | 2 +- bin/pt-table-usage | 2 +- bin/pt-tcp-model | 2 +- bin/pt-trend | 2 +- bin/pt-upgrade | 2 +- bin/pt-variable-advisor | 2 +- bin/pt-visual-explain | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/bin/pt-config-diff b/bin/pt-config-diff index 9b49d472..fbfeace3 100755 --- a/bin/pt-config-diff +++ b/bin/pt-config-diff @@ -2755,7 +2755,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_config_diff; +package pt_config_diff; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger index 96749169..9c03acfd 100755 --- a/bin/pt-deadlock-logger +++ b/bin/pt-deadlock-logger @@ -1760,7 +1760,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_deadlock_logger; +package pt_deadlock_logger; use English qw(-no_match_vars); use List::Util qw(max); diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker index 9b8517fd..a0d49138 100755 --- a/bin/pt-duplicate-key-checker +++ b/bin/pt-duplicate-key-checker @@ -3546,7 +3546,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ############################################################################# -package mk_duplicate_key_checker; +package pt_duplicate_key_checker; use English qw(-no_match_vars); use Getopt::Long; diff --git a/bin/pt-fifo-split b/bin/pt-fifo-split index 344dad67..5de73715 100755 --- a/bin/pt-fifo-split +++ b/bin/pt-fifo-split @@ -1241,7 +1241,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_fifo_split; +package pt_fifo_split; use English qw(-no_match_vars); use POSIX qw(mkfifo); diff --git a/bin/pt-find b/bin/pt-find index 94d4ef3c..60531b59 100755 --- a/bin/pt-find +++ b/bin/pt-find @@ -2461,7 +2461,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_find; +package pt_find; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger index ddb8d033..a79d9c09 100755 --- a/bin/pt-fk-error-logger +++ b/bin/pt-fk-error-logger @@ -1900,7 +1900,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_fk_error_logger; +package pt_fk_error_logger; use English qw(-no_match_vars); use sigtrap qw(handler finish untrapped normal-signals); diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat index 1f849c25..3843825a 100755 --- a/bin/pt-heartbeat +++ b/bin/pt-heartbeat @@ -3190,7 +3190,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_heartbeat; +package pt_heartbeat; use English qw(-no_match_vars); use List::Util qw(min max sum); diff --git a/bin/pt-index-usage b/bin/pt-index-usage index 706531af..b68e405a 100755 --- a/bin/pt-index-usage +++ b/bin/pt-index-usage @@ -4680,7 +4680,7 @@ sub _d { # Check just above main() for the call to main() which actually runs the # program. # ########################################################################### -package mk_index_usage; +package pt_index_usage; use English qw(-no_match_vars); use Data::Dumper; diff --git a/bin/pt-kill b/bin/pt-kill index eb459fba..aa286f8f 100755 --- a/bin/pt-kill +++ b/bin/pt-kill @@ -3590,7 +3590,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_kill; +package pt_kill; use English qw(-no_match_vars); use POSIX qw(setsid); diff --git a/bin/pt-log-player b/bin/pt-log-player index 69313209..886cd3a3 100755 --- a/bin/pt-log-player +++ b/bin/pt-log-player @@ -2615,7 +2615,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_log_player; +package pt_log_player; use POSIX; use Time::HiRes qw(time usleep); diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index fd1f972e..96187e3c 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -4109,7 +4109,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_online_schema_change; +package pt_online_schema_change; use English qw(-no_match_vars); use Time::HiRes qw(sleep); diff --git a/bin/pt-profile-compact b/bin/pt-profile-compact index 712d7cb6..d005a3b1 100755 --- a/bin/pt-profile-compact +++ b/bin/pt-profile-compact @@ -1054,7 +1054,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_profile_compact; +package pt_profile_compact; use English qw(-no_match_vars); use Time::HiRes qw(time); diff --git a/bin/pt-query-advisor b/bin/pt-query-advisor index ee16df42..e441038a 100755 --- a/bin/pt-query-advisor +++ b/bin/pt-query-advisor @@ -6011,7 +6011,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_query_advisor; +package pt_query_advisor; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-query-digest b/bin/pt-query-digest index 11e74f1c..0bcc1e12 100755 --- a/bin/pt-query-digest +++ b/bin/pt-query-digest @@ -11939,7 +11939,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_query_digest; +package pt_query_digest; use English qw(-no_match_vars); use Time::Local qw(timelocal); diff --git a/bin/pt-query-profiler b/bin/pt-query-profiler index af56c458..aada835a 100755 --- a/bin/pt-query-profiler +++ b/bin/pt-query-profiler @@ -1598,7 +1598,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_query_profiler; +package pt_query_profiler; use English qw(-no_match_vars); use List::Util qw(sum min max first); diff --git a/bin/pt-schema-advisor b/bin/pt-schema-advisor index d77d352f..c1fa55e6 100755 --- a/bin/pt-schema-advisor +++ b/bin/pt-schema-advisor @@ -3011,7 +3011,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_schema_advisor; +package pt_schema_advisor; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-show-grants b/bin/pt-show-grants index 192ddffa..965b9722 100755 --- a/bin/pt-show-grants +++ b/bin/pt-show-grants @@ -1598,7 +1598,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_show_grants; +package pt_show_grants; use English qw(-no_match_vars); diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay index 5d8e61b5..40e8ea92 100755 --- a/bin/pt-slave-delay +++ b/bin/pt-slave-delay @@ -2021,7 +2021,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_slave_delay; +package pt_slave_delay; use English qw(-no_match_vars); use List::Util qw(min max); diff --git a/bin/pt-slave-find b/bin/pt-slave-find index d41c02c8..f9f02824 100755 --- a/bin/pt-slave-find +++ b/bin/pt-slave-find @@ -2717,7 +2717,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_slave_find; +package pt_slave_find; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart index b621f25d..7d921011 100755 --- a/bin/pt-slave-restart +++ b/bin/pt-slave-restart @@ -2539,7 +2539,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_slave_restart; +package pt_slave_restart; use English qw(-no_match_vars); use IO::File; diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index 77a8ac1a..54fc62be 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -5159,7 +5159,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_table_checksum; +package pt_table_checksum; use English qw(-no_match_vars); use List::Util qw(max maxstr); diff --git a/bin/pt-table-sync b/bin/pt-table-sync index 447416d1..dd5d65ee 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -7425,7 +7425,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_table_sync; +package pt_table_sync; use English qw(-no_match_vars); use List::Util qw(sum max min); diff --git a/bin/pt-table-usage b/bin/pt-table-usage index 2a834a5a..7b2391d4 100755 --- a/bin/pt-table-usage +++ b/bin/pt-table-usage @@ -5717,7 +5717,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_table_usage; +package pt_table_usage; use English qw(-no_match_vars); use Data::Dumper; diff --git a/bin/pt-tcp-model b/bin/pt-tcp-model index d93a7937..ba332f9b 100755 --- a/bin/pt-tcp-model +++ b/bin/pt-tcp-model @@ -1922,7 +1922,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_tcp_model; +package pt_tcp_model; use English qw(-no_match_vars); use Time::Local qw(timelocal); diff --git a/bin/pt-trend b/bin/pt-trend index 86f7bee0..2add93a0 100755 --- a/bin/pt-trend +++ b/bin/pt-trend @@ -1807,7 +1807,7 @@ sub _d { # Check just above main() for the call to main() which actually runs the # program. # ########################################################################### -package mk_trend; +package pt_trend; use English qw(-no_match_vars); diff --git a/bin/pt-upgrade b/bin/pt-upgrade index ba5f88d8..ae31c1d8 100755 --- a/bin/pt-upgrade +++ b/bin/pt-upgrade @@ -10464,7 +10464,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_upgrade; +package pt_upgrade; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor index 119aa977..66e1eb5a 100755 --- a/bin/pt-variable-advisor +++ b/bin/pt-variable-advisor @@ -2832,7 +2832,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_variable_advisor; +package pt_variable_advisor; use strict; use warnings FATAL => 'all'; diff --git a/bin/pt-visual-explain b/bin/pt-visual-explain index a7988be9..ba660733 100755 --- a/bin/pt-visual-explain +++ b/bin/pt-visual-explain @@ -2270,7 +2270,7 @@ sub _d { # Check at the end of this package for the call to main() which actually runs # the program. # ########################################################################### -package mk_visual_explain; +package pt_visual_explain; use English qw(-no_match_vars); use Getopt::Long;