Merge pull request #1117 from alina-derkach-oaza/PT-2528-RN-3.7.1-3
PT-2528 Percona Toolkit 3.7.1-3 release notes and style update
@@ -20,14 +20,14 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: '1.25'
|
||||
go-version-file: ${{ github.workspace }}/go.mod
|
||||
- name: Build
|
||||
run: cd src/go; make linux-amd64; cd ../../
|
||||
|
||||
- name: Build the Docker image
|
||||
run: echo "FROM oraclelinux:9-slim" > Dockerfile; echo "RUN microdnf -y update" >> Dockerfile; echo "COPY bin/* /usr/bin/" >> Dockerfile; docker build . --file Dockerfile --tag percona-toolkit:${{ github.sha }}
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.33.1
|
||||
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
with:
|
||||
image-ref: 'percona-toolkit:${{ github.sha }}'
|
||||
format: 'table'
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
vuln-type: 'os,library'
|
||||
severity: 'CRITICAL,HIGH'
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v5.0.0
|
||||
uses: actions/upload-artifact@v7.0.0
|
||||
with:
|
||||
name: binaries
|
||||
path: bin/*
|
||||
|
||||
@@ -62,6 +62,7 @@ extend-ignore-re = [
|
||||
"RegexISTReceiver" = "RegexISTReceiver"
|
||||
"RegexISTSender" = "RegexISTSender"
|
||||
"RegexXtrabackupISTReceived" = "RegexXtrabackupISTReceived"
|
||||
"SELECTs" = "SELECTs"
|
||||
"START_ND_SUMMARY" = "START_ND_SUMMARY"
|
||||
"START_ND_TOOLTIPS" = "START_ND_TOOLTIPS"
|
||||
"thr" = "thr" # common abbreviation
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
Changelog for Percona Toolkit
|
||||
|
||||
v3.7.1-3 released 2026-04-17
|
||||
|
||||
This release addresses multiple important security vulnerabilities affecting libarchive (CVE-2026-4424, CVE-2026-4111), libnghttp2 (CVE-2026-27135), gnupg2 (CVE-2025-68973), and openssl-libs (CVE-2025-15467).
|
||||
|
||||
v3.7.1 released 2025-12-17
|
||||
|
||||
* Feature PT-2453: Add -skip-pod-summary for pt-k8s-debug-collector (Thanks to Iwo Panowicz for the contribution)
|
||||
|
||||
@@ -3,22 +3,32 @@ use ExtUtils::MY;
|
||||
|
||||
sub MY::postamble {
|
||||
return <<'MAKE_GOTOOLS';
|
||||
pkgs = $(shell find src/go -type d -name "pt-*" -exec basename {} \;)
|
||||
|
||||
gotools:
|
||||
cd src/go && $(MAKE) build
|
||||
cd src/go && VERSION=$(VERSION) $(MAKE) build
|
||||
@$(foreach pkg,$(pkgs),cp bin/$(pkg) $(INST_BIN);)
|
||||
|
||||
goclean:
|
||||
@$(foreach pkg,$(pkgs),rm -f bin/$(pkg) 2> /dev/null;)
|
||||
|
||||
all :: gotools
|
||||
install :: gotools
|
||||
clean :: goclean
|
||||
|
||||
MAKE_GOTOOLS
|
||||
}
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'Percona::Toolkit',
|
||||
VERSION => '3.7.1',
|
||||
VERSION => '3.7.1-3',
|
||||
EXE_FILES => [ <bin/*> ],
|
||||
MAN1PODS => {
|
||||
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
||||
map {
|
||||
(my $name = $_) =~ s/^bin.//;
|
||||
my $file_name = $_;
|
||||
if ( $file_name =~ m/(mongo|pg|galera|k8s|secure)/ ) {
|
||||
if ( $file_name =~ m/(mongo|pg|galera|k8s|secure)/ ) {
|
||||
# We have to put empty line here to avoid the MAN1PODS hash corruption
|
||||
'' => '',
|
||||
}
|
||||
|
||||
@@ -1358,7 +1358,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -1371,9 +1371,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -3964,9 +3964,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -3975,23 +3973,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -7516,7 +7500,11 @@ sub escape {
|
||||
$optionally_enclosed_by ||= '';
|
||||
|
||||
return join($fields_separated_by, map {
|
||||
s/([\t\n\\])/\\$1/g if defined $_; # Escape tabs etc
|
||||
if (defined $_){
|
||||
s/\\/\\\\/g;
|
||||
s/\n/\\n/g;
|
||||
s/\t/\\t/g;
|
||||
}
|
||||
my $s = defined $_ ? $_ : '\N'; # NULL = \N
|
||||
# var & ~var will return 0 only for numbers
|
||||
if ($s !~ /^[0-9,.E]+$/ && $optionally_enclosed_by eq '"' && $s ne '\N') {
|
||||
@@ -8969,7 +8957,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -8982,9 +8970,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -6057,7 +6057,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -6069,9 +6069,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5818,7 +5818,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -5831,9 +5831,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5690,7 +5690,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -5703,9 +5703,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5853,7 +5853,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -5866,9 +5866,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1713,7 +1713,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -1726,9 +1726,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5240,7 +5240,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -5253,9 +5253,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -2266,7 +2266,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -2278,9 +2278,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -4806,7 +4806,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -4818,9 +4818,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -420,9 +420,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -431,23 +429,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -6793,8 +6777,8 @@ sub main {
|
||||
|
||||
sub server_is_readonly {
|
||||
my ($dbh) = @_;
|
||||
my ( $is_read_only ) = $dbh->selectrow_array(q{SELECT @@global.read_only});
|
||||
if ( $is_read_only ) {
|
||||
my ( $is_read_only, $is_super_read_only ) = $dbh->selectrow_array(q{SELECT @@global.read_only, @@global.super_read_only});
|
||||
if ( $is_read_only and not $is_super_read_only ) {
|
||||
my ( $privs ) = eval { $dbh->selectrow_array(q{SHOW GRANTS}) };
|
||||
if ( $privs && $privs =~ /\b(?:ALL|SUPER)\b/ ) {
|
||||
$is_read_only = undef;
|
||||
@@ -7740,7 +7724,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2007-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2007-2026 Percona LLC and/or its affiliates,
|
||||
2006 Proven Scaling LLC and Six Apart Ltd.
|
||||
|
||||
Feedback and improvements are welcome.
|
||||
@@ -7755,9 +7739,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -7757,7 +7757,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -7770,9 +7770,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1130,7 +1130,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -1143,9 +1143,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -4238,9 +4238,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -4249,23 +4247,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -8929,7 +8913,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2009-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -8942,9 +8926,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -806,7 +806,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -819,9 +819,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -3425,7 +3425,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -3438,9 +3438,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -4529,9 +4529,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -4540,23 +4538,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -9844,6 +9828,7 @@ sub main {
|
||||
Quoter => $q,
|
||||
OptionParser => $o,
|
||||
TableParser => $tp,
|
||||
server_version => $server_version,
|
||||
);
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
@@ -11378,6 +11363,7 @@ sub create_new_table {
|
||||
}
|
||||
my ($new_table_name, $orig_tbl, $cxn, $q, $o, $tp) = @args{@required_args};
|
||||
my $new_table_prefix = $args{new_table_prefix};
|
||||
my $server_version = $args{server_version};
|
||||
|
||||
# Get the original table struct.
|
||||
my $ddl = $tp->get_create_table(
|
||||
@@ -11444,13 +11430,37 @@ sub create_new_table {
|
||||
$sql =~ s/\s+ENGINE=\S+//;
|
||||
}
|
||||
if ( $o->get('data-dir') && !$o->got('remove-data-dir') ) {
|
||||
if ( (-d $o->get('data-dir')) && (-w $o->get('data-dir')) ){
|
||||
$sql = insert_data_directory($sql, $o->get('data-dir'));
|
||||
PTDEBUG && _d("adding data dir ".$o->get('data-dir'));
|
||||
PTDEBUG && _d("New query\n$sql\n");
|
||||
} else {
|
||||
die $o->get('data-dir') . " is not a directory or it is not writable";
|
||||
}
|
||||
# Starting from 8.0, the directory must be known to InnoDB.
|
||||
|
||||
my $innodb_dirs = '';
|
||||
|
||||
my (undef, $innodb_data_home_dir) = $cxn->dbh->selectrow_array("SHOW VARIABLES LIKE 'innodb_data_home_dir'");
|
||||
if ( $innodb_data_home_dir ) {
|
||||
_d("InnoDB data home dir: $innodb_data_home_dir");
|
||||
$innodb_dirs .= $innodb_data_home_dir;
|
||||
}
|
||||
|
||||
my (undef, $innodb_directories) = $cxn->dbh->selectrow_array("SHOW VARIABLES LIKE 'innodb_directories'");
|
||||
if ( $innodb_directories ) {
|
||||
_d("InnoDB directories: $innodb_directories");
|
||||
$innodb_dirs .= ';' . $innodb_directories;
|
||||
}
|
||||
|
||||
my @dirs = map {
|
||||
my $dir = $_;
|
||||
$dir =~ s{(?<!^)/\z}{};
|
||||
$dir;
|
||||
} split(/\s*;\s*/, $innodb_dirs);
|
||||
my %dirs_lookup = map { $_ => 1 } @dirs;
|
||||
my $data_dir = $o->get('data-dir');
|
||||
$data_dir =~ s{(?<!^)/\z}{};
|
||||
if ($dirs_lookup{$data_dir} || $server_version < '8.0') {
|
||||
$sql = insert_data_directory($sql, $data_dir);
|
||||
PTDEBUG && _d("adding data dir " . $data_dir);
|
||||
PTDEBUG && _d("New query\n$sql\n");
|
||||
} else {
|
||||
die "Data directory " . $data_dir . " is not known to InnoDB.\nDirectories known to InnoDB are: " . $innodb_dirs . "\n";
|
||||
}
|
||||
}
|
||||
if ( $o->got('remove-data-dir') ) {
|
||||
$sql =~ s/DATA DIRECTORY\s*=\s*'.*?'//;
|
||||
@@ -14285,7 +14295,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -14297,9 +14307,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1023,7 +1023,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -1036,9 +1036,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -10835,9 +10835,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -10846,23 +10844,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -17151,7 +17135,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2008-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2008-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -17163,9 +17147,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -2567,9 +2567,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -2578,23 +2576,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -4783,7 +4767,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -4796,9 +4780,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -2981,9 +2981,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -2992,23 +2990,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -6481,7 +6465,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -6494,9 +6478,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -2725,7 +2725,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -2738,9 +2738,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1294,7 +1294,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -1307,9 +1307,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5273,7 +5273,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Sergey Zhuravle and Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -5286,9 +5286,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1847,6 +1847,10 @@ if [ "${0##*/}" = "$TOOL" ] \
|
||||
MYSQL_ARGS="$(mysql_options)"
|
||||
EXT_ARGV="$(arrange_mysql_options "$EXT_ARGV $MYSQL_ARGS")"
|
||||
|
||||
# Test if MySQL password provided on command line; warn if so.
|
||||
if [ -n "$OPT_PASSWORD" ] || $(echo "$EXT_ARGV" | grep -qP "(\-\-password=)|((^|\s)+\-p[^\s]+)"); then
|
||||
log 'Providing MySQL password on the command line interface is insecure. It will be visible in the operating system process list and stored in the collected output of the ps command. Consider using a configuration file or the --ask-pass option instead.';
|
||||
fi
|
||||
|
||||
if [ ! "$OPT_SYSTEM_ONLY" ]; then
|
||||
# Check that mysql and mysqladmin are in PATH. If not, we're
|
||||
@@ -1943,6 +1947,8 @@ server. Before using this tool, please:
|
||||
|
||||
=item * Backup your production server and verify the backups
|
||||
|
||||
=item * Do NOT provide the MySQL password on the command line with the L<"--password"> option. MySQL passwords provided on the command line are visible to all users on the system and are stored in the collected output of the C<"ps"> command. Use a MySQL option file or the L<"--ask-pass"> option instead.
|
||||
|
||||
=back
|
||||
|
||||
=head1 DESCRIPTION
|
||||
@@ -2269,6 +2275,10 @@ short form: -p; type: string
|
||||
Password to use when connecting.
|
||||
If password contains commas they must be escaped with a backslash: "exam\,ple"
|
||||
|
||||
B<WARNING>: Providing the password on the command line is insecure. The password will
|
||||
be visible to all users on the system and will be stored in the collected output of
|
||||
the C<"ps"> command. Use a MySQL option file or the L<"--ask-pass"> option instead.
|
||||
|
||||
=item --pid
|
||||
|
||||
type: string; default: /var/run/pt-stalk.pid
|
||||
@@ -2637,7 +2647,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -2650,9 +2660,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -2789,7 +2789,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2010-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -2802,9 +2802,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -5484,9 +5484,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -5495,23 +5493,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -9003,22 +8987,6 @@ sub _d {
|
||||
# End ReplicaLagWaiter package
|
||||
# ###########################################################################
|
||||
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU General Public License as published by the Free Software
|
||||
# Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# ###########################################################################
|
||||
# MySQLConfig package
|
||||
# This package is a copy without comments from the original. The original
|
||||
@@ -14455,7 +14423,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -14468,9 +14436,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -7014,9 +7014,7 @@ sub _find_replicas_by_hosts {
|
||||
sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -7025,23 +7023,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
@@ -13469,7 +13453,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -13482,9 +13466,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -8622,7 +8622,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2012-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2012-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -8634,9 +8634,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -11558,7 +11558,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2009-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
Feedback and improvements are welcome.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11571,9 +11571,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -6416,7 +6416,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2010-2024 Percona LLC and/or its affiliates.
|
||||
This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
@@ -6428,9 +6428,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -4235,7 +4235,7 @@ software from Percona.
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2011-2024 Percona LLC and/or its affiliates,
|
||||
This program is copyright 2011-2026 Percona LLC and/or its affiliates,
|
||||
2007-2011 Baron Schwartz.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -4248,9 +4248,8 @@ Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
You should have received a copy of the GNU General Public License, version 2
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
5
|
||||
9
|
||||
|
||||
@@ -4,7 +4,7 @@ Priority: optional
|
||||
Maintainer: Percona Toolkit Developers <toolkit-dev@percona.com>
|
||||
Build-Depends: debhelper (>= 4.2)
|
||||
Build-Depends-Indep: perl (>= 5.6.0-16)
|
||||
Standards-Version: 3.7.2
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: http://www.percona.com/software/percona-toolkit/
|
||||
Vcs-Browser: https://github.com/percona/percona-toolkit
|
||||
Vcs-Git: git://github.com/percona/percona-toolkit.git
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
@@ -430,16 +430,16 @@ build_source_deb(){
|
||||
cd ../
|
||||
mkdir -p $WORKDIR/source_deb
|
||||
mkdir -p $CURDIR/source_deb
|
||||
#cp *.tar.xz* $WORKDIR/source_deb
|
||||
cp *.tar.xz* $WORKDIR/source_deb
|
||||
cp *_source.changes $WORKDIR/source_deb
|
||||
cp *.dsc $WORKDIR/source_deb
|
||||
cp *.orig.tar.gz $WORKDIR/source_deb
|
||||
cp *.diff.gz $WORKDIR/source_deb
|
||||
# cp *.tar.xz* $CURDIR/source_deb
|
||||
#cp *.diff.gz $WORKDIR/source_deb
|
||||
cp *.tar.xz* $CURDIR/source_deb
|
||||
cp *_source.changes $CURDIR/source_deb
|
||||
cp *.dsc $CURDIR/source_deb
|
||||
cp *.orig.tar.gz $CURDIR/source_deb
|
||||
cp *.diff.gz $CURDIR/source_deb
|
||||
#cp *.diff.gz $CURDIR/source_deb
|
||||
}
|
||||
|
||||
build_tarball(){
|
||||
@@ -509,7 +509,6 @@ build_deb(){
|
||||
dpkg-source -x ${DSC}
|
||||
#
|
||||
cd ${PRODUCT}-${VERSION}
|
||||
echo 9 > debian/compat
|
||||
if [ x"$ARCH" = "xaarch64" ]; then
|
||||
sed -i 's/@@ARCHITECTURE@@/arm64/' debian/control
|
||||
else
|
||||
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 59 KiB |
@@ -1,24 +0,0 @@
|
||||
<div class="md-relbar2__inner md-grid">
|
||||
<div class="md-content">
|
||||
<article class="md-content__inner md-typeset" role="main">
|
||||
<svg width="78" height="69" viewBox="0 0 78 69" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M56.7281 30.7666C62.6528 26.8938 64.5914 18.9942 61.0059 12.7854C59.2094 9.67113 56.3053 7.44082 52.8311 6.50951C49.6122 5.64535 46.2502 5.99872 43.2912 7.49366L39.251 0.5L30.8648 15.0245L11.4811 48.5937H67.021L56.7281 30.7666ZM51.881 10.0674C54.4064 10.7401 56.5079 12.3616 57.8168 14.6194C60.3895 19.0701 59.053 24.7153 54.8808 27.5665L45.1362 10.6905C47.2355 9.68104 49.6034 9.46087 51.881 10.0674ZM39.251 7.87125L60.6339 44.907H48.1228L32.9927 18.7102L39.2499 7.87235L39.251 7.87125ZM17.8682 44.907L30.8637 22.4035L43.8592 44.907H17.8682Z" fill="url(#paint0_linear_2899_1968)"/>
|
||||
<path d="M4.981 64.943H3.157V68.207H.756V57.323H5.217C7.822 57.323 9.397 58.861 9.397 61.086V61.116C9.397 63.635 7.433 64.94 4.984 64.94L4.981 64.943V64.943ZM6.961 61.134C6.961 60.061 6.213 59.485 5.011 59.485H3.154V62.812H5.056C6.258 62.812 6.958 62.096 6.958 61.163V61.134H6.961ZM10.738 68.208V57.323H18.973V59.455H13.124V61.664H18.27V63.796H13.124V66.082H19.051V68.214H10.738V68.208 68.208ZM27.557 68.208 25.218 64.726H23.332V68.208H20.931V57.323H25.921C28.496 57.323 30.039 58.677 30.039 60.915V60.945C30.039 62.702 29.088 63.807 27.7 64.32L30.367 68.207H27.556L27.557 68.208ZM27.605 61.041C27.605 60.016 26.887 59.485 25.719 59.485H23.333V62.61H25.767C26.936 62.61 27.605 61.987 27.605 61.071V61.042 61.041ZM36.922 68.499C33.668 68.499 31.249 65.994 31.249 62.825V62.795C31.249 59.659 33.619 57.091 37.019 57.091 39.105 57.091 40.356 57.783 41.383 58.792L39.834 60.571C38.98 59.798 38.113 59.327 37.004 59.327 35.141 59.327 33.795 60.871 33.795 62.762V62.793C33.795 64.684 35.107 66.257 37.004 66.257 38.268 66.257 39.043 65.753 39.913 64.964L41.462 66.524C40.322 67.738 39.059 68.493 36.925 68.493L36.922 68.499ZM47.885 68.499C44.47 68.499 42.021 65.962 42.021 62.825V62.795C42.021 59.659 44.503 57.091 47.915 57.091 51.327 57.091 53.779 59.628 53.779 62.765V62.795C53.779 65.931 51.297 68.499 47.885 68.499ZM51.237 62.795C51.237 60.904 49.846 59.331 47.885 59.331 45.925 59.331 44.567 60.874 44.567 62.766V62.796C44.567 64.688 45.959 66.261 47.919 66.261 49.879 66.261 51.237 64.717 51.237 62.826V62.795 62.795ZM67.001 68.217 72.374 57.091 77.746 68.218H75.052L72.374 62.681 69.705 68.218H67.001V68.217ZM66.007 57.327V68.5L57.813 61.884V68.199H55.264V57.091L63.458 63.681V57.327H66.007Z" fill="#2C323E"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2899_1968" x1="18.1513" y1="44.7152" x2="61.4356" y2="20.9786" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FC3519"/>
|
||||
<stop offset="1" stop-color="#F0D136"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<p>For help, click the link below to get free database assistance or contact our experts for personalized support.</p>
|
||||
<p> <a class="reference external" href="https://docs.percona.com/percona-toolkit/get-help.html" target="_blank">Get help from Percona</a> </p>
|
||||
<hr>
|
||||
{# Add the last updated timestamp from git commits using gitstamp extension #}
|
||||
{%- if gitstamp %} <small> Last update: {{gitstamp}} </small>
|
||||
{%- endif %}
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
.sphinx-tabs-tab {
|
||||
position: relative;
|
||||
font-family: "Chivo", "Colfax", Helvetica, Arial, sans-serif;
|
||||
color: #fb8c00;
|
||||
font-family: "Poppins", "Roboto", Helvetica, Arial, sans-serif;
|
||||
color: #653df4;
|
||||
line-height: 24px;
|
||||
margin: 0;
|
||||
font-size: 19px;
|
||||
@@ -29,6 +29,5 @@ body,input{
|
||||
color:rgba(0,0,0,.87);
|
||||
-webkit-font-feature-settings:"kern","liga";
|
||||
font-feature-settings:"kern","liga";
|
||||
font-family:"Chivo", "Colfax", "Franziska", Helvetica, Arial, sans-serif;
|
||||
font-family: "Poppins", "Roboto", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,3 +1,19 @@
|
||||
<svg width="162" height="140" viewBox="0 0 162 140" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M131.446 87.9231C148.661 76.6669 154.283 53.7221 143.868 35.6906C138.642 26.6448 130.209 20.1698 120.118 17.4549C110.76 14.9442 101.005 15.9773 92.4039 20.314L80.6672 0L56.3049 42.1896L0 139.711H161.346L131.446 87.9231ZM117.367 27.786C124.707 29.7442 130.809 34.4533 134.606 41.0123C142.078 53.9383 138.197 70.3361 126.076 78.625L97.7737 29.6C103.876 26.6688 110.748 26.0321 117.367 27.786ZM80.6792 21.4071L142.798 128.995H106.459L62.4916 52.9052L80.6672 21.4192L80.6792 21.4071ZM18.5601 129.007L56.3169 63.6328L94.0737 129.007H18.5601Z" fill="#FF7E1A"/>
|
||||
</svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Layer_12" data-name="Layer 12" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1123.51 1123.51">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #653df4;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Background">
|
||||
<g>
|
||||
<path class="cls-1" d="M1080.68,1011.16H42.83L561.75,112.35l518.93,898.8ZM71.19,994.78h981.12L561.75,145.1,71.19,994.78Z"/>
|
||||
<g>
|
||||
<polygon class="cls-1" points="856.01 886.29 561.75 376.62 267.5 886.29 347.68 886.29 365.58 855.29 321.19 855.29 561.75 438.62 802.32 855.29 425.66 855.29 562.02 619.17 664.3 796.32 700.1 796.32 562.02 557.17 561.66 557.8 561.64 557.77 371.96 886.29 463.08 886.29 856.01 886.29"/>
|
||||
<polygon class="cls-1" points="637.54 823.15 561.75 691.88 485.96 823.15 637.54 823.15"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 826 B |
@@ -1,9 +0,0 @@
|
||||
<svg width="520" height="451" viewBox="0 0 520 451" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M423.631 283.376C479.103 247.116 497.253 173.155 463.684 115.024C446.863 85.8662 419.673 64.9845 387.145 56.265C357.008 48.1741 325.531 51.4826 297.826 65.4793L260 0L181.483 135.988L0 450.285H520L423.631 283.376ZM378.25 89.5766C401.894 95.8741 421.57 111.056 433.825 132.195C457.912 173.866 445.399 226.719 406.336 253.414L315.1 95.4103C334.755 85.9589 356.925 83.8976 378.25 89.5766ZM260 69.0145L460.2 415.767H343.063L201.406 170.496L259.99 69.0248L260 69.0145ZM59.8002 415.767L181.472 205.075L303.144 415.767H59.8002Z" fill="url(#paint0_linear_552_15)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_552_15" x1="58.6494" y1="460.228" x2="444.575" y2="74.3019" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FC3519"/>
|
||||
<stop offset="1" stop-color="#F0D136"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 901 B |
@@ -1,10 +1,17 @@
|
||||
<svg width="78" height="69" viewBox="0 0 78 69" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M56.7281 30.7666C62.6528 26.8938 64.5914 18.9942 61.0059 12.7854C59.2094 9.67113 56.3053 7.44082 52.8311 6.50951C49.6122 5.64535 46.2502 5.99872 43.2912 7.49366L39.251 0.5L30.8648 15.0245L11.4811 48.5937H67.021L56.7281 30.7666ZM51.881 10.0674C54.4064 10.7401 56.5079 12.3616 57.8168 14.6194C60.3895 19.0701 59.053 24.7153 54.8808 27.5665L45.1362 10.6905C47.2355 9.68104 49.6034 9.46087 51.881 10.0674ZM39.251 7.87125L60.6339 44.907H48.1228L32.9927 18.7102L39.2499 7.87235L39.251 7.87125ZM17.8682 44.907L30.8637 22.4035L43.8592 44.907H17.8682Z" fill="url(#paint0_linear_2899_1968)"/>
|
||||
<path d="M4.981 64.943H3.157V68.207H.756V57.323H5.217C7.822 57.323 9.397 58.861 9.397 61.086V61.116C9.397 63.635 7.433 64.94 4.984 64.94L4.981 64.943V64.943ZM6.961 61.134C6.961 60.061 6.213 59.485 5.011 59.485H3.154V62.812H5.056C6.258 62.812 6.958 62.096 6.958 61.163V61.134H6.961ZM10.738 68.208V57.323H18.973V59.455H13.124V61.664H18.27V63.796H13.124V66.082H19.051V68.214H10.738V68.208 68.208ZM27.557 68.208 25.218 64.726H23.332V68.208H20.931V57.323H25.921C28.496 57.323 30.039 58.677 30.039 60.915V60.945C30.039 62.702 29.088 63.807 27.7 64.32L30.367 68.207H27.556L27.557 68.208ZM27.605 61.041C27.605 60.016 26.887 59.485 25.719 59.485H23.333V62.61H25.767C26.936 62.61 27.605 61.987 27.605 61.071V61.042 61.041ZM36.922 68.499C33.668 68.499 31.249 65.994 31.249 62.825V62.795C31.249 59.659 33.619 57.091 37.019 57.091 39.105 57.091 40.356 57.783 41.383 58.792L39.834 60.571C38.98 59.798 38.113 59.327 37.004 59.327 35.141 59.327 33.795 60.871 33.795 62.762V62.793C33.795 64.684 35.107 66.257 37.004 66.257 38.268 66.257 39.043 65.753 39.913 64.964L41.462 66.524C40.322 67.738 39.059 68.493 36.925 68.493L36.922 68.499ZM47.885 68.499C44.47 68.499 42.021 65.962 42.021 62.825V62.795C42.021 59.659 44.503 57.091 47.915 57.091 51.327 57.091 53.779 59.628 53.779 62.765V62.795C53.779 65.931 51.297 68.499 47.885 68.499ZM51.237 62.795C51.237 60.904 49.846 59.331 47.885 59.331 45.925 59.331 44.567 60.874 44.567 62.766V62.796C44.567 64.688 45.959 66.261 47.919 66.261 49.879 66.261 51.237 64.717 51.237 62.826V62.795 62.795ZM67.001 68.217 72.374 57.091 77.746 68.218H75.052L72.374 62.681 69.705 68.218H67.001V68.217ZM66.007 57.327V68.5L57.813 61.884V68.199H55.264V57.091L63.458 63.681V57.327H66.007Z" fill="#2C323E"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2899_1968" x1="18.1513" y1="44.7152" x2="61.4356" y2="20.9786" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FC3519"/>
|
||||
<stop offset="1" stop-color="#F0D136"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Layer_12" data-name="Layer 12" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1123.51 1123.51">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Background">
|
||||
<g>
|
||||
<path class="cls-1" d="M1080.68,1011.16H42.83L561.75,112.35l518.93,898.8ZM71.19,994.78h981.12L561.75,145.1,71.19,994.78Z"/>
|
||||
<polygon class="cls-1" points="856.01 886.29 561.75 376.62 267.5 886.29 347.68 886.29 365.58 855.29 321.19 855.29 561.75 438.62 802.32 855.29 425.66 855.29 562.02 619.17 664.3 796.32 700.1 796.32 562.02 557.17 561.66 557.8 561.64 557.77 371.96 886.29 463.08 886.29 856.01 886.29"/>
|
||||
<polygon class="cls-1" points="637.54 823.15 561.75 691.88 485.96 823.15 637.54 823.15"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 798 B |
@@ -4,21 +4,56 @@ import sys
|
||||
import os
|
||||
sys.path.append(os.path.abspath("../"))
|
||||
from conf import *
|
||||
extensions.append('sphinx_gitstamp')
|
||||
extensions.append('sphinx_copybutton')
|
||||
extensions.append('sphinx_immaterial')
|
||||
html_sidebars['**']=['globaltoc.html', 'searchbox.html', 'localtoc.html', 'logo-text.html']
|
||||
html_theme = 'sphinx_material'
|
||||
html_theme = 'sphinx_immaterial'
|
||||
html_theme_options = {
|
||||
'base_url': 'http://bashtage.github.io/sphinx-material/',
|
||||
'site_url': 'https://docs.percona.com/percona-toolkit/',
|
||||
'repo_url': 'https://github.com/percona/percona-toolkit',
|
||||
'repo_name': 'percona/percona-toolkit',
|
||||
'color_accent': 'cyan',
|
||||
'color_primary': 'blue-grey',
|
||||
'edit_uri': 'edit/3.x/docs/',
|
||||
'globaltoc_collapse': True,
|
||||
'version_dropdown': True
|
||||
"features": [
|
||||
"navigation.top",
|
||||
"navigation.footer",
|
||||
],
|
||||
"palette": [
|
||||
{
|
||||
"media": "(prefers-color-scheme)",
|
||||
"toggle": {
|
||||
"icon": "material/brightness-auto",
|
||||
"name": "Switch to light mode",
|
||||
},
|
||||
},
|
||||
{
|
||||
"media": "(prefers-color-scheme: light)",
|
||||
"scheme": "default",
|
||||
"primary": "deep-purple",
|
||||
"accent": "light-blue",
|
||||
"toggle": {
|
||||
"icon": "material/lightbulb",
|
||||
"name": "Switch to dark mode",
|
||||
},
|
||||
},
|
||||
{
|
||||
"media": "(prefers-color-scheme: dark)",
|
||||
"scheme": "slate",
|
||||
"primary": "deep-purple",
|
||||
"accent": "light-blue",
|
||||
"toggle": {
|
||||
"icon": "material/lightbulb-outline",
|
||||
"name": "Switch to system preference",
|
||||
},
|
||||
},
|
||||
],
|
||||
'version_dropdown': True,
|
||||
'icon': {
|
||||
"repo": "fontawesome/brands/github",
|
||||
"edit": "material/file-edit-outline",
|
||||
},
|
||||
}
|
||||
html_logo = '../_static/percona-logo.svg'
|
||||
html_favicon = '../_static/percona-favicon.ico'
|
||||
html_favicon = '../_static/percona-favicon.svg'
|
||||
pygments_style = 'emacs'
|
||||
gitstamp_fmt = "%b %d, %Y"
|
||||
# Specify the text pattern that won't be copied with the code block contents
|
||||
@@ -26,11 +61,7 @@ copybutton_prompt_text = '$'
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['../_static/_templates/theme']
|
||||
#html_last_updated_fmt = ''
|
||||
|
||||
# Path to custom css files. These will override the default css attribute if they exist
|
||||
html_css_files = [
|
||||
'../_static/css/material.css',
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'Percona Toolkit'
|
||||
copyright = u'2025, Percona LLC and/or its affiliates'
|
||||
copyright = u'2026, Percona LLC and/or its affiliates'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
@@ -50,7 +50,7 @@ copyright = u'2025, Percona LLC and/or its affiliates'
|
||||
# The short X.Y version.
|
||||
version = '3.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '3.7.1'
|
||||
release = '3.7.1-3'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@@ -202,12 +202,12 @@ htmlhelp_basename = 'PerconaToolkitdoc'
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'PerconaToolkit.tex', u'Percona Toolkit Documentation',
|
||||
u'2025, Percona LLC and/or its affiliates', 'manual'),
|
||||
u'2026, Percona LLC and/or its affiliates', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
# the title page.
|
||||
latex_logo = 'Percona_Logo_Color.png'
|
||||
latex_logo = 'Percona_Logo_Dark.png'
|
||||
|
||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
||||
# not chapters.
|
||||
@@ -236,5 +236,5 @@ latex_toplevel_sectioning = 'part'
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
('index', 'perconatoolkit', u'Percona Toolkit Documentation',
|
||||
[u'2025, Percona LLC and/or its affiliates'], 1)
|
||||
]
|
||||
[u'2026, Percona LLC and/or its affiliates'], 1)
|
||||
]
|
||||
@@ -588,7 +588,7 @@ Many people have contributed code over the years. See each tool's
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
Percona Toolkit is copyright 2011-2024 Percona LLC and/or its affiliates, et al.
|
||||
Percona Toolkit is copyright 2011-2026 Percona LLC and/or its affiliates, et al.
|
||||
See each program's documentation for complete copyright notices.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
Release Notes
|
||||
***************
|
||||
|
||||
v3.7.1-3 released 2026-04-17
|
||||
==============================
|
||||
|
||||
This release addresses multiple important security vulnerabilities affecting `libarchive` (CVE-2026-4424, CVE-2026-4111), `libnghttp2` (CVE-2026-27135), `gnupg2` (CVE-2025-68973), and `openssl-libs` (CVE-2025-15467).
|
||||
|
||||
v3.7.1 released 2025-12-17
|
||||
==============================
|
||||
|
||||
|
||||
@@ -42,6 +42,9 @@ require (
|
||||
github.com/go-logr/logr v1.4.3 // indirect
|
||||
github.com/go-ole/go-ole v1.3.0 // indirect
|
||||
github.com/golang/snappy v1.0.0 // indirect
|
||||
github.com/google/gnostic-models v0.7.0 // indirect
|
||||
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
|
||||
github.com/josharian/intern v1.0.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/compress v1.18.5 // indirect
|
||||
github.com/kr/text v0.2.0 // indirect
|
||||
@@ -49,6 +52,8 @@ require (
|
||||
github.com/mattn/go-isatty v0.0.21 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||
github.com/tklauser/go-sysconf v0.3.16 // indirect
|
||||
github.com/tklauser/numcpus v0.11.0 // indirect
|
||||
|
||||
@@ -4,6 +4,8 @@ github.com/Ladicle/tabwriter v1.0.0 h1:DZQqPvMumBDwVNElso13afjYLNp0Z7pHqHnu0r4t9
|
||||
github.com/Ladicle/tabwriter v1.0.0/go.mod h1:c4MdCjxQyTbGuQO/gvqJ+IA/89UEwrsD6hUCW98dyp4=
|
||||
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
|
||||
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
|
||||
github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
|
||||
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
|
||||
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
|
||||
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
|
||||
github.com/alecthomas/kingpin v2.2.6+incompatible h1:5svnBTFgJjZvGKyYBtMB0+m5wvrbUHiqye8wRJMlnYI=
|
||||
@@ -34,23 +36,29 @@ github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
|
||||
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
|
||||
github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs=
|
||||
github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
|
||||
github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo=
|
||||
github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ=
|
||||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
||||
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
||||
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J0b1vyeLSOYI8bm5wbJM/8yDe8=
|
||||
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
|
||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/hashicorp/go-version v1.9.0 h1:CeOIz6k+LoN3qX9Z0tyQrPtiB1DFYRPfCIBtaXPSCnA=
|
||||
github.com/hashicorp/go-version v1.9.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
|
||||
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
|
||||
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
|
||||
github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef h1:A9HsByNhogrvm9cWb28sjiS3i7tcKCkflWFEkHfuAgM=
|
||||
github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef/go.mod h1:lADxMC39cJJqL93Duh1xhAs4I2Zs8mKS89XWXFGp9cs=
|
||||
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
|
||||
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
|
||||
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
|
||||
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
|
||||
github.com/klauspost/compress v1.18.5 h1:/h1gH5Ce+VWNLSWqPzOVn6XBO+vJbCNGvjoaGBFW2IE=
|
||||
github.com/klauspost/compress v1.18.5/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
|
||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
||||
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ=
|
||||
@@ -91,11 +99,13 @@ github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
|
||||
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
||||
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
|
||||
@@ -133,6 +143,8 @@ golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f h1:W3F4c+6OLc6H2lb//N1q4WpJk
|
||||
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f/go.mod h1:J1xhfL/vlindoeF/aINzNzt2Bket5bjo9sdOYzOsU80=
|
||||
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||
golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8=
|
||||
golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
@@ -171,12 +183,18 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm
|
||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
|
||||
golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k=
|
||||
golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc=
|
||||
google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
||||
gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnfEbYzo=
|
||||
gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
|
||||
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
||||
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
||||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 h1:VpOs+IwYnYBaFnrNAeB8UUWtL3vEUnzSCL1nVjPhqrw=
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Advisor package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# AdvisorRules package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# BinaryLogParser package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# ChangeHandler package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# CleanupTask package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# CompareQueryTimes package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# CompareWarnings package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# CopyRowsInsertSelect package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Cxn package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz,
|
||||
# 2011-2013 Percona Ireland Ltd.
|
||||
# 2011-2013 Percona LLC and/or its affiliates.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2008-2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2008-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Daemon package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Diskstats package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# DiskstatsGroupByAll package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# DiskstatsGroupByDisk package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# DiskstatsGroupBySample package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# DiskstatsMenu package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# DuplicateKeyFinder package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2008-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2008-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# EventAggregator package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# EventExecutor package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2008-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2008-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# EventTimeline package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# ExecutionThrottler package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# ExplainAnalyzer package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# FakeSth package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# FileIterator package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2015 Percona LLC.
|
||||
# This program is copyright 2015-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# FlowControlWaiter package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# GeneralLogParser package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2012 Percona Ireland Ltd.
|
||||
# This program is copyright 2012 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2012 Percona Ireland Ltd.
|
||||
# This program is copyright 2012-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# IndexLength package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# IndexUsage package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# JSONReportFormatter package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2008-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2008-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2012 Percona Ireland Ltd.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2012-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Lmo package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Lmo::Meta package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Lmo::Object package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Lmo::Types package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2013 Percona Ireland Ltd.
|
||||
# This program is copyright 2013-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# Lmo::Utils package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011-2012 Percona Ireland Ltd.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MasterSlave package
|
||||
# ###########################################################################
|
||||
@@ -382,9 +381,7 @@ sub get_connected_replicas {
|
||||
my ( $self, $dbh ) = @_;
|
||||
|
||||
# Check for the PROCESS privilege.
|
||||
my $show = "SHOW GRANTS FOR ";
|
||||
my $user = 'CURRENT_USER()';
|
||||
my $sql = $show . $user;
|
||||
my $sql = "SHOW GRANTS";
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
|
||||
my $proc;
|
||||
@@ -393,26 +390,9 @@ sub get_connected_replicas {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
if ( $EVAL_ERROR ) {
|
||||
|
||||
if ( $EVAL_ERROR =~ m/no such grant defined for user/ ) {
|
||||
# Try again without a host.
|
||||
PTDEBUG && _d('Retrying SHOW GRANTS without host; error:',
|
||||
$EVAL_ERROR);
|
||||
($user) = split('@', $user);
|
||||
$sql = $show . $user;
|
||||
PTDEBUG && _d($sql);
|
||||
eval {
|
||||
$proc = grep {
|
||||
m/ALL PRIVILEGES.*?\*\.\*|PROCESS/
|
||||
} @{$dbh->selectcol_arrayref($sql)};
|
||||
};
|
||||
}
|
||||
|
||||
# The 2nd try above might have cleared $EVAL_ERROR.
|
||||
# If not, die now.
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
}
|
||||
|
||||
die "Failed to $sql: $EVAL_ERROR" if $EVAL_ERROR;
|
||||
|
||||
if ( !$proc ) {
|
||||
die "You do not have the PROCESS privilege";
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011 Percona Inc.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MockSth package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011 Percona Inc.
|
||||
# This program is copyright 2007-2011 Baron Schwartz, 2011-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MockSync package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2009-2011 Percona Inc.
|
||||
# This program is copyright 2009-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MockSyncStream package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MySQLConfig package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2010-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2010-2026 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MySQLConfigComparer package
|
||||
# ###########################################################################
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This program is copyright 2007-2011 Percona Ireland Ltd.
|
||||
# This program is copyright 2007-2011 Percona LLC and/or its affiliates.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
@@ -11,9 +11,8 @@
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# You should have received a copy of the GNU General Public License, version 2
|
||||
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
# ###########################################################################
|
||||
# MySQLProtocolParser package
|
||||
# ###########################################################################
|
||||
|
||||