Hi guys.
We've recently run into a problem with this monitor, with the DBI
library complaining that _ListTables is deprecated and that we should
use $dbh->tables() instead. We're running perl 5.6.1 with version 11.18
of the DBI module (according to the head of DBI.pm). I've attached a
patch that fixes this.
Cheers,
Aled.
*************************************************************
--- mysql.monitor Thu Jun 5 13:40:32 2003
+++ mysql.monitor Thu Jun 5 13:40:49 2003
@@ -78,7 +78,7 @@
push( @failures, "Could not connect to $mode server
$host: " . $DBI::errstr );
next;
}
- @tables = $dbh->func( '_ListTables' );
+ @tables = $dbh->tables();
if( $#tables < 0 ) {
push( @failures, "No tables found for database
$options{database} on server $host" );
}
**************************************************************
--
Aled Treharne - Technical Solutions Advisor - Frontier Internet Services Ltd
Tel: 029 2082 0000 Fax: 029 2082 0038 http://www.frontier.net.uk
Statements made are at all times subject to Frontier's Terms and Conditions of
Business, which are available upon request.
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon