mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 10:36:28 +00:00
Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com.
This commit is contained in:
@@ -4609,7 +4609,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
|
@@ -3711,7 +3711,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -3830,6 +3830,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -3168,7 +3168,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -3287,6 +3287,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -4281,7 +4281,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -4400,6 +4400,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -4125,7 +4125,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -4244,6 +4244,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -2965,7 +2965,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -3084,6 +3084,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -2872,7 +2872,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -2991,6 +2991,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -4049,7 +4049,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -4168,6 +4168,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -5632,7 +5632,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -5751,6 +5751,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -5629,7 +5629,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -5748,6 +5748,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -6651,7 +6651,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -6770,6 +6770,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -6814,7 +6814,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -6933,6 +6933,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -12663,7 +12663,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -12782,6 +12782,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -3282,7 +3282,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -3401,6 +3401,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -3904,7 +3904,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -4023,6 +4023,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -833,7 +833,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -952,6 +952,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -9053,7 +9053,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -9172,6 +9172,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -11106,7 +11106,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -11225,6 +11225,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -4194,7 +4194,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
@@ -4313,6 +4313,7 @@ sub _touch {
|
||||
sysopen my $fh, $file, O_WRONLY|O_CREAT|O_NONBLOCK
|
||||
or die "Cannot create $file : $!";
|
||||
close $fh or die "Cannot close $file : $!";
|
||||
utime(undef, undef, $file);
|
||||
}
|
||||
|
||||
sub encode_client_response {
|
||||
|
@@ -74,7 +74,7 @@ sub version_check {
|
||||
|
||||
my $dbh = shift; # optional
|
||||
my $advice = pingback(
|
||||
url => 'http://staging.upgrade.percona.com',
|
||||
url => $ENV{PERCONA_VERSION_CHECK_URL} || 'http://v.percona.com',
|
||||
dbh => $dbh,
|
||||
);
|
||||
if ( $advice ) {
|
||||
|
Reference in New Issue
Block a user