diff options
-rwxr-xr-x | check_postgres.pl | 2 | ||||
-rw-r--r-- | t/02_fsm_pages.t | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index ec5c863db..8de97b528 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3608,7 +3608,7 @@ FROM my $info = run_command($SQL, { version => [ ">8.3 $SQLNOOP" ] } ); - if (exists $info->{db}[0]{fail}) { + if (exists $info->{db}[0]{slurp}[0]{fail}) { add_unknown msg('fsm-page-highver'); return; } diff --git a/t/02_fsm_pages.t b/t/02_fsm_pages.t index 0e9367d11..542afbb50 100644 --- a/t/02_fsm_pages.t +++ b/t/02_fsm_pages.t @@ -63,9 +63,10 @@ if ($ver >= 80400) { } $t=qq{$S gives an unknown when running against a 8.4 or higher version}; - like ($cp->run('--warning=10%'), qr{^$label UNKNOWN.*Cannot check on fsm_pages}, $t); + like ($cp->run('--warning=10%'), qr{^$label UNKNOWN.*Cannot check fsm_pages}, $t); + + exit; - exit; } $t=qq{$S gives normal output for empty tables}; |