Package: mysql-client-5.0 Version: 5.0.45-5~bpo40+1 Severity: normal Tags: patch
Hello, the program does not recognize the location of the slow query log because it has dashes instead of underscores in it's expression checked. The attached patch fixes this. I didn't check for any other related problems. Best, --Toni++ -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable'), (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22-3-amd64 Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Versions of packages mysql-client-5.0 depends on: ii debianutils 2.17 Miscellaneous utilities specific t ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the ii libdbi-perl 1.53-1etch1 Perl5 database interface by Tim Bu ii libgcc1 1:4.1.1-21 GCC support library ii libmysqlclient15off 5.0.45-5~bpo40+1 MySQL database client library ii libncurses5 5.5-5 Shared libraries for terminal hand ii libreadline5 5.2-2 GNU readline and history libraries ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libwrap0 7.6.dbs-13 Wietse Venema's TCP wrappers libra ii mysql-common 5.0.45-5~bpo40+1 MySQL database common files ii perl 5.8.8-7etch1 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages mysql-client-5.0 recommends: ii libterm-readkey-perl 2.30-3 A perl module for simple terminal -- no debconf information
--- mysqldumpslow 2008-01-05 13:43:41.000000000 +0100 +++ mysqldumpslow.new 2008-01-10 11:52:08.000000000 +0100 @@ -40,7 +40,7 @@ warn "basedir=$basedir\n" if $opt{v}; my $datadir = ($defaults =~ m/--datadir=(.*)/)[0]; - my $slowlog = ($defaults =~ m/--log-slow-queries=(.*)/)[0]; + my $slowlog = ($defaults =~ m/--log_slow_queries=(.*)/)[0]; if (!$datadir or $opt{i}) { # determine the datadir from the instances section of /etc/my.cnf, if any my $instances = `my_print_defaults instances`;