Package: mon
Version: 0.99.2-7
Severity: normal
Tags: patch

patch:

--- msql-mysql.monitor.orig     Sat Jun 30 20:44:29 2001
+++ msql-mysql.monitor  Wed Feb  2 15:58:13 2005
@@ -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" );
        }


quote from DBD::mysql's manual (libdbd-mysql-perl 2.9003-3):

       Deprecated Features


       _ListTables
           Replace with the standard DBI method "$dbh->tables()". See also
           "$dbh->table_info()". Portable applications will prefer

               @tables = map { $_ =~ s/.*\.//; $_ } $dbhâE<gt>tables()

           because, depending on the engine, the string "user.table" will be
           returned, user being the table owner. The method will be removed
           in DBD::mysql version 2.11xy.


-- System Information:
Debian Release: 3.0
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=UTF-8) (ignored: LC_ALL set to 
de_CH.UTF-8)

Versions of packages mon depends on:
ii  libc6                         2.2.5-11.5 GNU C Library: Shared libraries an
ii  libmon-perl                   0.11-2     mon Perl modules for clients and s
ii  libtime-hires-perl            1.20-4     High-resolution time manipulation 
ii  libtime-period-perl           1.20-7     Perl library for testing if a time
ii  perl                          5.6.1-8.8  Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to