~percona-toolkit-dev/percona-toolkit/manual-for-pt-query-digest--type-binlog-is-ambiguous-1377888

« back to all changes in this revision

Viewing changes to bin/pt-upgrade

  • Committer: Frank Cizmich
  • Date: 2014-07-29 15:51:01 UTC
  • mfrom: (606.1.12 release-2.2.9)
  • Revision ID: frank.cizmich@percona.com-20140729155101-f5kv4rmeu3s5rzk5
mergedĀ releaseĀ 2.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
{
62
62
package Percona::Toolkit;
63
63
 
64
 
our $VERSION = '2.2.8';
 
64
our $VERSION = '2.2.9';
65
65
 
66
66
use strict;
67
67
use warnings FATAL => 'all';
6908
6908
$Data::Dumper::Quotekeys = 0;
6909
6909
 
6910
6910
my $binlog_line_1 = qr/at (\d+)$/m;
6911
 
my $binlog_line_2 = qr/^#(\d{6}\s+\d{1,2}:\d\d:\d\d)\s+server\s+id\s+(\d+)\s+end_log_pos\s+(\d+)\s+(\S+)\s*([^\n]*)$/m;
 
6911
my $binlog_line_2 = qr/^#(\d{6}\s+\d{1,2}:\d\d:\d\d)\s+server\s+id\s+(\d+)\s+end_log_pos\s+(\d+)\s+(?:CRC32\s+0x[a-f0-9]{8}\s+)?(\S+)\s*([^\n]*)$/m;
6912
6912
my $binlog_line_2_rest = qr/thread_id=(\d+)\s+exec_time=(\d+)\s+error_code=(\d+)/m;
6913
6913
 
6914
6914
sub new {
11224
11224
 
11225
11225
=head1 VERSION
11226
11226
 
11227
 
pt-upgrade 2.2.8
 
11227
pt-upgrade 2.2.9
11228
11228
 
11229
11229
=cut