From c00598d3fb3c579100da50e636c1b563c9796fae Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 11 Jul 2012 16:46:54 -0300 Subject: [PATCH] Two VersionParser oversights in pt-table-sync --- bin/pt-table-sync | 3 +-- t/pt-table-sync/triggers.t | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/pt-table-sync b/bin/pt-table-sync index 81c29fa2..cc7e013b 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -8552,7 +8552,6 @@ sub lock_and_rename { # OptionParser - object # DSNParser - object # Quoter - object -# VersionParser - object # # Returns: # Exit status @@ -8844,7 +8843,7 @@ sub sync_via_replication { sub sync_all { my ( %args ) = @_; my @required_args = qw(dsns plugins OptionParser DSNParser Quoter - VersionParser TableParser MySQLDump); + TableParser MySQLDump); foreach my $arg ( @required_args ) { die "I need a $arg argument" unless $args{$arg}; } diff --git a/t/pt-table-sync/triggers.t b/t/pt-table-sync/triggers.t index 5995c536..55ad5255 100644 --- a/t/pt-table-sync/triggers.t +++ b/t/pt-table-sync/triggers.t @@ -1,4 +1,4 @@ -// #!/usr/bin/env perl +#!/usr/bin/env perl BEGIN { die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"