Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com.

This commit is contained in:
Daniel Nichter
2012-08-22 15:10:33 -06:00
parent 7cd73be614
commit 66f1bdf403
20 changed files with 38 additions and 20 deletions

View File

@@ -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 {