diff options
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 221927431..220e84d5a 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1663,7 +1663,7 @@ sub verify_version { ## We almost always need the version, so just grab it for any limitation $SQL = q{SELECT setting FROM pg_settings WHERE name = 'server_version'}; my $oldslurp = $db->{slurp} || ''; - my $info = run_command($SQL, {noverify => 1}); + $info = run_command($SQL, {noverify => 1}); if (defined $info->{db}[0] and exists $info->{db}[0]{error} and defined $info->{db}[0]{error} @@ -4078,7 +4078,7 @@ sub check_replicate_row { ## Reset for final output $db = $sourcedb; - my $slave = 0; + $slave = 0; for my $d (@{$info2->{db}}) { $slave++; next if exists $slave{$slave}; |