mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-04 11:37:16 +00:00
Compare commits
6 Commits
pmm-2.39.0
...
2.1.9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
adc2e8ca80 | ||
![]() |
678f283a5d | ||
![]() |
2ca4dde44f | ||
![]() |
10bd381ede | ||
![]() |
c149109b32 | ||
![]() |
f263cd0706 |
13
Changelog
13
Changelog
@@ -1,5 +1,18 @@
|
|||||||
Changelog for Percona Toolkit
|
Changelog for Percona Toolkit
|
||||||
|
|
||||||
|
v2.1.9 released 2013-02-14
|
||||||
|
|
||||||
|
* Fixed bug 1103221: pt-heartbeat 2.1.8 doesn't use precision/sub-second timestamps
|
||||||
|
* Fixed bug 1099665: pt-heartbeat 2.1.8 reports big time drift with UTC_TIMESTAMP
|
||||||
|
* Fixed bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB
|
||||||
|
* Fixed bug 1103672: pt-online-schema-change makes bad DELETE trigger if PK is re-created with new columns
|
||||||
|
* Fixed bug 1115333: pt-pmp doesn't list the origin lib for each function
|
||||||
|
* Fixed bug 823411: pt-query-digest shouldn't print "Error: none" for tcpdump
|
||||||
|
* Fixed bug 1103045: pt-query-digest fails to parse non-SQL errors
|
||||||
|
* Fixed bug 1105077: pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave
|
||||||
|
* Fixed bug 918056: pt-table-sync false-positive error "Cannot nibble table because MySQL chose no index instead of the PRIMARY index"
|
||||||
|
* Fixed bug 1099933: pt-stalk is too verbose, fills up log
|
||||||
|
|
||||||
v2.1.8 released 2012-12-21
|
v2.1.8 released 2012-12-21
|
||||||
|
|
||||||
* Beta support for MySQL 5.6
|
* Beta support for MySQL 5.6
|
||||||
|
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
|
|||||||
|
|
||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
NAME => 'percona-toolkit',
|
NAME => 'percona-toolkit',
|
||||||
VERSION => '2.1.8',
|
VERSION => '2.1.9',
|
||||||
EXE_FILES => [ <bin/*> ],
|
EXE_FILES => [ <bin/*> ],
|
||||||
MAN1PODS => {
|
MAN1PODS => {
|
||||||
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
||||||
|
@@ -218,6 +218,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-align 2.1.8
|
pt-align 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -39,7 +39,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -1744,7 +1744,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -7574,6 +7574,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-archiver 2.1.8
|
pt-archiver 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -38,7 +38,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -4871,6 +4871,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-config-diff 2.1.8
|
pt-config-diff 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -36,7 +36,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -4785,6 +4785,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-deadlock-logger 2.1.8
|
pt-deadlock-logger 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -38,7 +38,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -5570,6 +5570,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-diskstats 2.1.8
|
pt-diskstats 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -39,7 +39,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -394,7 +394,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -5435,6 +5435,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-duplicate-key-checker 2.1.8
|
pt-duplicate-key-checker 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -1568,6 +1568,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-fifo-split 2.1.8
|
pt-fifo-split 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -35,7 +35,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -1792,7 +1792,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -4898,6 +4898,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-find 2.1.8
|
pt-find 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -2129,7 +2129,7 @@ L<http://www.percona.com/software/> for more software developed by Percona.
|
|||||||
|
|
||||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||||
|
|
||||||
This program is copyright 2011-2012 Percona Ireland Ltd.
|
This program is copyright 2011-2013 Percona Ireland Ltd.
|
||||||
|
|
||||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||||
@@ -2147,6 +2147,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-fingerprint 2.1.8
|
pt-fingerprint 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -35,7 +35,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -4011,7 +4011,7 @@ L<http://www.percona.com/software/> for more software developed by Percona.
|
|||||||
|
|
||||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||||
|
|
||||||
This program is copyright 2011-2012 Percona Ireland Ltd.
|
This program is copyright 2011-2013 Percona Ireland Ltd.
|
||||||
|
|
||||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||||
@@ -4029,6 +4029,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-fk-error-logger 2.1.8
|
pt-fk-error-logger 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -38,7 +38,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -2731,7 +2731,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -5872,7 +5872,7 @@ not check or adjust for different system or MySQL time zones which can
|
|||||||
cause the tool to compute the lag incorrectly. Specifying this option is
|
cause the tool to compute the lag incorrectly. Specifying this option is
|
||||||
a good idea because it ensures that the tool works correctly regardless of
|
a good idea because it ensures that the tool works correctly regardless of
|
||||||
time zones, but it also makes the tool backwards-incompatible with
|
time zones, but it also makes the tool backwards-incompatible with
|
||||||
pt-heartbeat 2.1.7 and older (unless the older version of pt-heartbeat
|
pt-heartbeat 2.1.9 and older (unless the older version of pt-heartbeat
|
||||||
is running on a system that uses UTC).
|
is running on a system that uses UTC).
|
||||||
|
|
||||||
=item --version
|
=item --version
|
||||||
@@ -6059,6 +6059,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-heartbeat 2.1.8
|
pt-heartbeat 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -45,7 +45,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -3001,7 +3001,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -7483,6 +7483,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-index-usage 2.1.8
|
pt-index-usage 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -1112,7 +1112,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-ioprofile 2.1.8
|
pt-ioprofile 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -2678,7 +2678,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -7789,6 +7789,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-kill 2.1.8
|
pt-kill 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -3673,6 +3673,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-log-player 2.1.8
|
pt-log-player 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -282,7 +282,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-mext 2.1.8
|
pt-mext 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -3011,7 +3011,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-mysql-summary 2.1.8
|
pt-mysql-summary 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -10945,6 +10945,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-online-schema-change 2.1.8
|
pt-online-schema-change 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -404,7 +404,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-pmp 2.1.8
|
pt-pmp 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -5520,7 +5520,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -8727,6 +8727,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-query-advisor 2.1.8
|
pt-query-advisor 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -64,7 +64,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -8351,7 +8351,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -17454,6 +17454,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-query-digest 2.1.8
|
pt-query-digest 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -2304,6 +2304,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-show-grants 2.1.8
|
pt-show-grants 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -781,7 +781,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-sift 2.1.8
|
pt-sift 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -4600,6 +4600,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-slave-delay 2.1.8
|
pt-slave-delay 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -4025,6 +4025,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-slave-find 2.1.8
|
pt-slave-find 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -37,7 +37,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -5519,6 +5519,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-slave-restart 2.1.8
|
pt-slave-restart 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -2023,7 +2023,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-stalk 2.1.8
|
pt-stalk 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -2682,7 +2682,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-summary 2.1.8
|
pt-summary 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -3984,7 +3984,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -11958,6 +11958,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-table-checksum 2.1.8
|
pt-table-checksum 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -52,7 +52,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -12648,6 +12648,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-table-sync 2.1.8
|
pt-table-sync 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -7383,6 +7383,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-table-usage 2.1.8
|
pt-table-usage 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -2532,6 +2532,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-tcp-model 2.1.8
|
pt-tcp-model 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -2233,6 +2233,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-trend 2.1.8
|
pt-trend 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -58,7 +58,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -664,7 +664,7 @@ sub check_table {
|
|||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my ($dbh, $db, $tbl) = @args{@required_args};
|
my ($dbh, $db, $tbl) = @args{@required_args};
|
||||||
my $q = $self->{Quoter};
|
my $q = $self->{Quoter} || 'Quoter';
|
||||||
my $db_tbl = $q->quote($db, $tbl);
|
my $db_tbl = $q->quote($db, $tbl);
|
||||||
PTDEBUG && _d('Checking', $db_tbl);
|
PTDEBUG && _d('Checking', $db_tbl);
|
||||||
|
|
||||||
@@ -13171,6 +13171,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-upgrade 2.1.8
|
pt-upgrade 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -40,7 +40,7 @@ BEGIN {
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
@@ -5869,6 +5869,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-variable-advisor 2.1.8
|
pt-variable-advisor 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -3143,6 +3143,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
pt-visual-explain 2.1.8
|
pt-visual-explain 2.1.9
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -1,3 +1,18 @@
|
|||||||
|
percona-toolkit (2.1.9) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fixed bug 1103221: pt-heartbeat 2.1.8 doesn't use precision/sub-second timestamps
|
||||||
|
* Fixed bug 1099665: pt-heartbeat 2.1.8 reports big time drift with UTC_TIMESTAMP
|
||||||
|
* Fixed bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB
|
||||||
|
* Fixed bug 1103672: pt-online-schema-change makes bad DELETE trigger if PK is re-created with new columns
|
||||||
|
* Fixed bug 1115333: pt-pmp doesn't list the origin lib for each function
|
||||||
|
* Fixed bug 823411: pt-query-digest shouldn't print "Error: none" for tcpdump
|
||||||
|
* Fixed bug 1103045: pt-query-digest fails to parse non-SQL errors
|
||||||
|
* Fixed bug 1105077: pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave
|
||||||
|
* Fixed bug 918056: pt-table-sync false-positive error "Cannot nibble table because MySQL chose no index instead of the PRIMARY index"
|
||||||
|
* Fixed bug 1099933: pt-stalk is too verbose, fills up log
|
||||||
|
|
||||||
|
-- Percona Toolkit Developers <toolkit-dev@percona.com> Thu, 14 Feb 2013 17:25:44 +0000
|
||||||
|
|
||||||
percona-toolkit (2.1.8) unstable; urgency=low
|
percona-toolkit (2.1.8) unstable; urgency=low
|
||||||
|
|
||||||
* Beta support for MySQL 5.6
|
* Beta support for MySQL 5.6
|
||||||
|
@@ -23,6 +23,6 @@ Description: Advanced MySQL and system command-line tools
|
|||||||
They are also fully self-contained, so installation is quick and easy and
|
They are also fully self-contained, so installation is quick and easy and
|
||||||
no libraries are installed.
|
no libraries are installed.
|
||||||
.
|
.
|
||||||
Percona Toolkit is developed and supported by Percona Inc. For more
|
Percona Toolkit is developed and supported by Percona. For more
|
||||||
information and other free, open-source software developed by Percona,
|
information and other free, open-source software developed by Percona,
|
||||||
visit http://www.percona.com/software/.
|
visit http://www.percona.com/software/.
|
||||||
|
@@ -9,7 +9,7 @@ Upstream Author:
|
|||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
|
|
||||||
Copyright 2011 Percona Inc.
|
Copyright 2013 Percona Ireland Ltd.
|
||||||
|
|
||||||
License:
|
License:
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ Version: %{version}
|
|||||||
Release: %{release}
|
Release: %{release}
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
License: GPL
|
License: GPL
|
||||||
Vendor: Percona Inc.
|
Vendor: Percona
|
||||||
URL: http://www.percona.com/software/percona-toolkit/
|
URL: http://www.percona.com/software/percona-toolkit/
|
||||||
Source: percona-toolkit-%{version}.tar.gz
|
Source: percona-toolkit-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
@@ -22,7 +22,7 @@ they are professionally developed, formally tested, and fully documented.
|
|||||||
They are also fully self-contained, so installation is quick and easy and
|
They are also fully self-contained, so installation is quick and easy and
|
||||||
no libraries are installed.
|
no libraries are installed.
|
||||||
|
|
||||||
Percona Toolkit is developed and supported by Percona Inc. For more
|
Percona Toolkit is developed and supported by Percona. For more
|
||||||
information and other free, open-source software developed by Percona,
|
information and other free, open-source software developed by Percona,
|
||||||
visit http://www.percona.com/software/.
|
visit http://www.percona.com/software/.
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Percona Toolkit'
|
project = u'Percona Toolkit'
|
||||||
copyright = u'2011, Percona Inc'
|
copyright = u'2013, Percona Ireland Ltd'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
@@ -50,7 +50,7 @@ copyright = u'2011, Percona Inc'
|
|||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '2.1'
|
version = '2.1'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '2.1.8'
|
release = '2.1.9'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
@@ -179,7 +179,7 @@ htmlhelp_basename = 'PerconaToolkitdoc'
|
|||||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'PerconaToolkit.tex', u'Percona Toolkit Documentation',
|
('index', 'PerconaToolkit.tex', u'Percona Toolkit Documentation',
|
||||||
u'Percona Inc', 'manual'),
|
u'Percona Ireland Ltd', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
@@ -212,5 +212,5 @@ latex_documents = [
|
|||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('index', 'perconatoolkit', u'Percona Toolkit Documentation',
|
('index', 'perconatoolkit', u'Percona Toolkit Documentation',
|
||||||
[u'Percona Inc'], 1)
|
[u'Percona Ireland Ltd'], 1)
|
||||||
]
|
]
|
||||||
|
@@ -289,7 +289,7 @@ If you spotted innacuracies, errors, don't understood it or you think something
|
|||||||
Call us: 1-888-316-9775 • <a href="/contact">Contact Us</a><br>
|
Call us: 1-888-316-9775 • <a href="/contact">Contact Us</a><br>
|
||||||
MySQL and InnoDB are trademarks of Oracle Corp.<br>
|
MySQL and InnoDB are trademarks of Oracle Corp.<br>
|
||||||
Proudly running <a href="/software/percona-server/">Percona Server<span id="recentServerVersion"></span></a><br>
|
Proudly running <a href="/software/percona-server/">Percona Server<span id="recentServerVersion"></span></a><br>
|
||||||
Copyright © 2006-2011 Percona Inc.<br>
|
Copyright © 2006-2013 Percona Ireland Ltd.<br>
|
||||||
<a href="/about-us/policies/">Copyright, Trademark, and Privacy Policy</a> • <a href="/sitemap/">Sitemap</a>
|
<a href="/about-us/policies/">Copyright, Trademark, and Privacy Policy</a> • <a href="/sitemap/">Sitemap</a>
|
||||||
<span class="inv"><!--[CDATA[</noindex-->]]></span>
|
<span class="inv"><!--[CDATA[</noindex-->]]></span>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -14,7 +14,7 @@ no libraries are installed.
|
|||||||
|
|
||||||
Percona Toolkit is derived from Maatkit and Aspersa, two of the best-known
|
Percona Toolkit is derived from Maatkit and Aspersa, two of the best-known
|
||||||
toolkits for MySQL server administration. It is developed and supported by
|
toolkits for MySQL server administration. It is developed and supported by
|
||||||
Percona Inc. For more information and other free, open-source software
|
Percona. For more information and other free, open-source software
|
||||||
developed by Percona, visit `http://www.percona.com/software/ <http://www.percona.com/software/>`_.
|
developed by Percona, visit `http://www.percona.com/software/ <http://www.percona.com/software/>`_.
|
||||||
|
|
||||||
Getting Percona Toolkit
|
Getting Percona Toolkit
|
||||||
|
@@ -530,6 +530,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
Percona Toolkit v2.1.8 released 2012-12-21
|
Percona Toolkit v2.1.9 released 2013-02-14
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@@ -1,6 +1,76 @@
|
|||||||
Release Notes
|
Release Notes
|
||||||
*************
|
*************
|
||||||
|
|
||||||
|
v2.1.9 released 2013-02-14
|
||||||
|
==========================
|
||||||
|
|
||||||
|
Percona Toolkit 2.1.9 has been released. This release primarily aims to
|
||||||
|
restore backwards-compatibility with pt-heartbeat 2.1.7 and older, but it
|
||||||
|
also has important bug fixes for other tools.
|
||||||
|
|
||||||
|
* Fixed bug 1103221: pt-heartbeat 2.1.8 doesn't use precision/sub-second timestamps
|
||||||
|
* Fixed bug 1099665: pt-heartbeat 2.1.8 reports big time drift with UTC_TIMESTAMP
|
||||||
|
|
||||||
|
The previous release switched the time authority from Perl to MySQL, and from
|
||||||
|
local time to UTC. Unfortunately, these changes caused a loss of precision and,
|
||||||
|
if mixing versions of pt-heartbeat, made the tool report a huge amount of
|
||||||
|
replication lag. This release makes the tool compatible with pt-heartbeat
|
||||||
|
2.1.7 and older again, but the UTC behavior introduced in 2.1.8 is now only
|
||||||
|
available by specifying the new --utc option.
|
||||||
|
|
||||||
|
* Fixed bug 918056: pt-table-sync false-positive error "Cannot nibble table because MySQL chose no index instead of the PRIMARY index"
|
||||||
|
|
||||||
|
This is an important bug fix for pt-table-sync: certain chunks from
|
||||||
|
pt-table-checksum resulted in an impossible WHERE, causing the false-positive
|
||||||
|
"Cannot nibble" error, if those chunks had diffs.
|
||||||
|
|
||||||
|
* Fixed bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB
|
||||||
|
|
||||||
|
MariaDB 5.5.28 (https://kb.askmonty.org/en/mariadb-5528-changelog/) fixed
|
||||||
|
a bug: "Added warnings for duplicate key errors when using INSERT IGNORE".
|
||||||
|
However, standard MySQL does not warn in this case, despite the docs saying
|
||||||
|
that it should. Since pt-online-schema-change has always intended to ignore
|
||||||
|
duplicate entry errors by using "INSERT IGNORE", it now handles the MariaDB
|
||||||
|
case by also ignoring duplicate entry errors in the code.
|
||||||
|
|
||||||
|
* Fixed bug 1103672: pt-online-schema-change makes bad DELETE trigger if PK is re-created with new columns
|
||||||
|
|
||||||
|
pt-online-schema-change 2.1.9 handles another case of changing the primary key.
|
||||||
|
However, since changing the primary key is tricky, the tool stops if --alter
|
||||||
|
contains "DROP PRIMARY KEY", and you have to specify --no-check-alter to
|
||||||
|
acknowledge this case.
|
||||||
|
|
||||||
|
* Fixed bug 1099933: pt-stalk is too verbose, fills up log
|
||||||
|
|
||||||
|
Previously, pt-stalk printed a line for every check. Since the tool is
|
||||||
|
designed to be a long-running daemon, this could result in huge log files
|
||||||
|
with "matched=no" lines. The tool has a new --verbose option which makes it
|
||||||
|
quieter by default.
|
||||||
|
|
||||||
|
All users should upgrade, but in particular, users of versions 2.1.7 and
|
||||||
|
older are strongly recommended to skip 2.1.8 and go directly to 2.1.9.
|
||||||
|
|
||||||
|
Users of pt-heartbeat in 2.1.8 who prefer the UTC behavior should keep in
|
||||||
|
mind that they will have to use the --utc option after upgrading.
|
||||||
|
|
||||||
|
Percona Toolkit packages can be downloaded from
|
||||||
|
http://www.percona.com/downloads/percona-toolkit/ or the Percona Software
|
||||||
|
Repositories (http://www.percona.com/software/repositories/).
|
||||||
|
|
||||||
|
Changelog
|
||||||
|
---------
|
||||||
|
|
||||||
|
* Fixed bug 1103221: pt-heartbeat 2.1.8 doesn't use precision/sub-second timestamps
|
||||||
|
* Fixed bug 1099665: pt-heartbeat 2.1.8 reports big time drift with UTC_TIMESTAMP
|
||||||
|
* Fixed bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB
|
||||||
|
* Fixed bug 1103672: pt-online-schema-change makes bad DELETE trigger if PK is re-created with new columns
|
||||||
|
* Fixed bug 1115333: pt-pmp doesn't list the origin lib for each function
|
||||||
|
* Fixed bug 823411: pt-query-digest shouldn't print "Error: none" for tcpdump
|
||||||
|
* Fixed bug 1103045: pt-query-digest fails to parse non-SQL errors
|
||||||
|
* Fixed bug 1105077: pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave
|
||||||
|
* Fixed bug 918056: pt-table-sync false-positive error "Cannot nibble table because MySQL chose no index instead of the PRIMARY index"
|
||||||
|
* Fixed bug 1099933: pt-stalk is too verbose, fills up log
|
||||||
|
|
||||||
v2.1.8 released 2012-12-21
|
v2.1.8 released 2012-12-21
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# This program is copyright 2012 Percona Inc.
|
# This program is copyright 2012-2013 Percona Ireland Ltd.
|
||||||
# Feedback and improvements are welcome.
|
# Feedback and improvements are welcome.
|
||||||
#
|
#
|
||||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
package Percona::Toolkit;
|
package Percona::Toolkit;
|
||||||
our $VERSION = '2.1.8';
|
our $VERSION = '2.1.9';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
|
@@ -6,21 +6,21 @@ use English qw(-no_match_vars);
|
|||||||
|
|
||||||
eval {
|
eval {
|
||||||
my ($year, $copyright) = @ARGV;
|
my ($year, $copyright) = @ARGV;
|
||||||
my ($years) = $copyright =~ m/(\S+) Percona Inc./;
|
my ($years) = $copyright =~ m/(\S+) Percona Ireland Ltd/;
|
||||||
my ($first_year, $last_year) = split /-/, $years;
|
my ($first_year, $last_year) = split /-/, $years;
|
||||||
|
|
||||||
my $new_copyright;
|
my $new_copyright;
|
||||||
if ( $first_year && $last_year ) {
|
if ( $first_year && $last_year ) {
|
||||||
$new_copyright = "$first_year-$year Percona Inc."
|
$new_copyright = "$first_year-$year Percona Ireland Ltd"
|
||||||
}
|
}
|
||||||
elsif ( $first_year < $year ) {
|
elsif ( $first_year < $year ) {
|
||||||
$new_copyright = "$first_year-$year Percona Inc."
|
$new_copyright = "$first_year-$year Percona Ireland Ltd"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$new_copyright = "$first_year Percona Inc."
|
$new_copyright = "$first_year Percona Ireland Ltd"
|
||||||
}
|
}
|
||||||
|
|
||||||
$copyright =~ s/\S+ Percona Inc./$new_copyright/;
|
$copyright =~ s/\S+ Percona Ireland Ltd/$new_copyright/;
|
||||||
print $copyright;
|
print $copyright;
|
||||||
};
|
};
|
||||||
die $EVAL_ERROR if $EVAL_ERROR;
|
die $EVAL_ERROR if $EVAL_ERROR;
|
||||||
|
Reference in New Issue
Block a user