Make txn_idle show OK if none found. 2.15.3
authorGreg Sabino Mullane <[email protected]>
Thu, 30 Dec 2010 18:17:32 +0000 (13:17 -0500)
committerGreg Sabino Mullane <[email protected]>
Thu, 30 Dec 2010 18:17:32 +0000 (13:17 -0500)
check_postgres.pl

index 17dea5efa0cd9ada16b8a816115307ed94623582..8b14e3d091a80b2d351e311873d36460caf5c8a6 100755 (executable)
@@ -6827,7 +6827,7 @@ sub check_txn_idle {
         }
         $db->{perf} .= msg('maxtime', $max);
         if ($max < 0) {
-            add_unknown msg('txnidle-none');
+            add_ok msg('txnidle-none');
             next;
         }